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: Iea478401b7580682c7b9f195f7af9cbbdb6ce315
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3167292
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#923194}
This CL creates a new mojo target for three files that don't
need the large url_request_mojom_traits.h traits header.
On my machine, this reduces the total build size from
236,200,425,638 to 234,822,552,595 bytes, a reduction
by 1.37 GB or 0.6%.
Bug: 1227131, 242216
Change-Id: Ib2f729edb62880e16183408966d429e8b06c496d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3048296
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#905715}
And any struct_traits => mojom_traits
Brought to you by grep and sed
TBR=dcheng@chromium.orgTBR=jam@chromium.org
Bug: 806965
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I3782b0e0fbfe438678a9aeeaefd2922fbd19d0eb
Reviewed-on: https://chromium-review.googlesource.com/912511
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#535985}