Deprecate DISALLOW_COPY_AND_ASSIGN.

Chromium has decided to follow Google C++ styleguide (crbug/1010217)
when it comes to deleting implicit copy constructors and assign
operators, and will deprecate DISALLOW_COPY_AND_ASSIGN in favor of
manually deleted constructor in public.

This CL changes DISALLOW_COPY_AND_ASSIGN to deleted constructor, and
tries to move it to the right place.

This script tries to locate the constructor, and move deleted
constructor nearby (and optimistically assumes it is public). If not
found, it tries to move the lines below `public:`.

camera is excluded since it has external style code and will be handled
manually later.

Script used is at Idfe5d64ffb1fdbf53f00cf76ff63cd1e66ba934b

BUG=chromium:1144735
TEST=CQ

Exempt-From-Owner-Approval: Mechanical change involving a lot of owners.
Change-Id: I91c772eb49db979c0cd0773d090c3e4527874cc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2526882
Tested-by: Qijiang Fan <[email protected]>
Commit-Queue: Qijiang Fan <[email protected]>
Reviewed-by: Hidehiko Abe <[email protected]>
Reviewed-by: Miriam Zimmerman <[email protected]>
diff --git a/login_manager/upstart_signal_emitter.h b/login_manager/upstart_signal_emitter.h
index 61251a8..648aa27 100644
--- a/login_manager/upstart_signal_emitter.h
+++ b/login_manager/upstart_signal_emitter.h
@@ -26,6 +26,9 @@
   static const char kPath[];
 
   explicit UpstartSignalEmitter(dbus::ObjectProxy* proxy);
+  UpstartSignalEmitter(const UpstartSignalEmitter&) = delete;
+  UpstartSignalEmitter& operator=(const UpstartSignalEmitter&) = delete;
+
   ~UpstartSignalEmitter() override;
 
   // InitDaemonController:
@@ -43,7 +46,6 @@
 
  private:
   dbus::ObjectProxy* upstart_dbus_proxy_;  // Weak, owned by caller.
-  DISALLOW_COPY_AND_ASSIGN(UpstartSignalEmitter);
 };
 
 }  // namespace login_manager