commit | 407869b6c33f13a8a15e6f9fc5e5ad67287df8b5 | [log] [tgz] |
---|---|---|
author | Peter Boström <[email protected]> | Thu Oct 07 04:42:48 2021 |
committer | Chromium LUCI CQ <[email protected]> | Thu Oct 07 04:42:48 2021 |
tree | eec6d30fa361b015dc1d3e1af277f18da11d5b4b | |
parent | 406d9d55e7fcf3f2a91a89dc7573aebedbf464b0 [diff] [blame] |
Remove DISALLOW_* macros from net/ This inlines all remaining DISALLOW_* macros in net/. This is done manually (vim regex + manually finding insertion position). IWYU cleanup is left as a separate pass that is easier when these macros go away. Bug: 1010217 Change-Id: I7fade65cf1fd0f08e1c3baeff35dfbf3beb3ebce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3202538 Commit-Queue: Peter Boström <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Owners-Override: Lei Zhang <[email protected]> Cr-Commit-Position: refs/heads/main@{#929037}
diff --git a/net/dns/mdns_cache.h b/net/dns/mdns_cache.h index 0dfaa16..c041e546 100644 --- a/net/dns/mdns_cache.h +++ b/net/dns/mdns_cache.h
@@ -61,6 +61,10 @@ }; MDnsCache(); + + MDnsCache(const MDnsCache&) = delete; + MDnsCache& operator=(const MDnsCache&) = delete; + ~MDnsCache(); // Return value indicates whether the record was added, changed @@ -116,8 +120,6 @@ base::Time next_expiration_; size_t entry_limit_; - - DISALLOW_COPY_AND_ASSIGN(MDnsCache); }; } // namespace net