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/proxy_resolution/polling_proxy_config_service.h b/net/proxy_resolution/polling_proxy_config_service.h
index 382e5b3..07448ae 100644
--- a/net/proxy_resolution/polling_proxy_config_service.h
+++ b/net/proxy_resolution/polling_proxy_config_service.h
@@ -22,6 +22,10 @@
 // thread, and notifies registered observers when the value changes.
 class NET_EXPORT_PRIVATE PollingProxyConfigService : public ProxyConfigService {
  public:
+  PollingProxyConfigService(const PollingProxyConfigService&) = delete;
+  PollingProxyConfigService& operator=(const PollingProxyConfigService&) =
+      delete;
+
   // ProxyConfigService implementation:
   void AddObserver(Observer* observer) override;
   void RemoveObserver(Observer* observer) override;
@@ -52,8 +56,6 @@
  private:
   class Core;
   scoped_refptr<Core> core_;
-
-  DISALLOW_COPY_AND_ASSIGN(PollingProxyConfigService);
 };
 
 }  // namespace net