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
Auto-Submit: Peter Boström <>
Commit-Queue: Lei Zhang <>
Reviewed-by: Lei Zhang <>
Owners-Override: Lei Zhang <>
Cr-Commit-Position: refs/heads/main@{#924827}
GitOrigin-RevId: 80c123a1c777b6009baff72e0364bb6137b7caa4
3 files changed
tree: 42b469124b012ea090e87edd58a38777715e460a
  1. src/