Replace DISALLOW_COPY_AND_ASSIGN in third_party/

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: I1daa712b586d5a73c90891e3f9c7bd8245e927a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3182423
Auto-Submit: Peter Boström <pbos@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#924827}
NOKEYCHECK=True
GitOrigin-RevId: 80c123a1c777b6009baff72e0364bb6137b7caa4
3 files changed
tree: 42b469124b012ea090e87edd58a38777715e460a
  1. src/