0
Files
src/cloud_print
Timothy Gu 01eb0c08f7 cloud_print: remove deprecated DISALLOW_ macros
Macros such as DISALLOW_COPY_AND_ASSIGN() are deprecated since r711900
per style arbitration [1]. This commit replaces the macros with deleted
constructors and assignment operators, which are preferred by the Google
C++ Style Guide [2][3].

When possible, remove unneeded "base/macros.h" #includes.

[1]: https://groups.google.com/a/chromium.org/g/cxx/c/qwH2hxaEjac/m/TUKq6eqfCwAJ
[2]: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-dos-and-donts.md#explicitly-declare-class-copyability_movability
[3]: https://google.github.io/styleguide/cppguide.html#Copyable_Movable_Types

Bug: 1010217
Change-Id: I609a8a299ba22f32f96494bacfd24b2562f65b2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2961951
Auto-Submit: Timothy Gu <timothygu@chromium.org>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#892669}
2021-06-15 19:16:41 +00:00
..