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