This replaces DISALLOW_COPY_AND_ASSIGN with explicit constructor deletes
where a local script is able to detect its insertion place (~Foo() is
public => insert before this line).
This is incomplete as not all classes have a public ~Foo() declared, so
not all DISALLOW_COPY_AND_ASSIGN occurrences are replaced.
IWYU cleanup is left as a separate pass that is easier when these macros
go away.
Bug: 1010217
Change-Id: Iedd7c835cea6c26dd4655c11e875cbf1b06bd1ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3163767
Auto-Submit: Peter Boström <pbos@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#922357}
This CL removes SystemTrayUnified flag. This is the part 1 of removing
old System Tray code.
(1) Removing the flag
(2) Removing references to IsSystemTrayUnifiedEnabled()
(3) Removing classes that are only used in old System Tray
I'll try to keep the number of CLs as small as possible to make the
history clean, but there can be multiple CLs for both part 2 and part 3
because some of them requires nontrivial refactoring to remove the
dependency to the old code.
TEST=manual
BUG=898419
Change-Id: I7a24d57afe7d39d437a17c475e5f6be330f0351e
Reviewed-on: https://chromium-review.googlesource.com/c/1297778
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602561}
As TrayTracing will be removed in UnifiedSystemTray, "Performance
tracing enabled" message should be shown as a pinned notification.
As the strings and the icon are still not given from UX, they are
temporary.
TEST=TracingNotificationControllerTest
TEST=manual(chrome://slow)
BUG=824631
Change-Id: I49016886acc1a4fc2b109998d260210b1d9ac8dc
Reviewed-on: https://chromium-review.googlesource.com/1060893
Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
Reviewed-by: Yoshiki Iguchi <yoshiki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#559828}