commit | 75cd3c0e2bc80ef1e93a51285cf7892c098e3a08 | [log] [tgz] |
---|---|---|
author | Peter Boström <[email protected]> | Tue Sep 28 15:23:18 2021 |
committer | Chromium LUCI CQ <[email protected]> | Tue Sep 28 15:23:18 2021 |
tree | 7a1cab42929b0b516dc7e780d4bb6aa22b25fb86 | |
parent | 370559457485aaa577d7e556a67349e384925b88 [diff] [blame] |
Remove DISALLOW_* macros from base/ This inlines all remaining DISALLOW_* macros in base/. This is done manually (vim regex + manually finding insertion position). IWYU cleanup is left as a separate pass that is easier when these macros go away. Bug: 1010217 Change-Id: I639e50c9f979e7e08615b95c01d08cfbe614effd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3189175 Commit-Queue: Peter Boström <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Owners-Override: Lei Zhang <[email protected]> Cr-Commit-Position: refs/heads/main@{#925771}
diff --git a/base/message_loop/message_pump_glib_unittest.cc b/base/message_loop/message_pump_glib_unittest.cc index 7822494..d4c72b5 100644 --- a/base/message_loop/message_pump_glib_unittest.cc +++ b/base/message_loop/message_pump_glib_unittest.cc
@@ -168,14 +168,16 @@ class MessagePumpGLibTest : public testing::Test { public: MessagePumpGLibTest() = default; + + MessagePumpGLibTest(const MessagePumpGLibTest&) = delete; + MessagePumpGLibTest& operator=(const MessagePumpGLibTest&) = delete; + EventInjector* injector() { return &injector_; } private: test::SingleThreadTaskEnvironment task_environment_{ test::SingleThreadTaskEnvironment::MainThreadType::UI}; EventInjector injector_; - - DISALLOW_COPY_AND_ASSIGN(MessagePumpGLibTest); }; } // namespace