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/socket/connect_job_unittest.cc b/net/socket/connect_job_unittest.cc
index 0f94806..459c143 100644
--- a/net/socket/connect_job_unittest.cc
+++ b/net/socket/connect_job_unittest.cc
@@ -60,6 +60,9 @@
}
}
+ TestConnectJob(const TestConnectJob&) = delete;
+ TestConnectJob& operator=(const TestConnectJob&) = delete;
+
// From ConnectJob:
LoadState GetLoadState() const override { return LOAD_STATE_IDLE; }
bool HasEstablishedConnection() const override { return false; }
@@ -86,8 +89,6 @@
const JobType job_type_;
StaticSocketDataProvider socket_data_provider_;
RequestPriority last_seen_priority_;
-
- DISALLOW_COPY_AND_ASSIGN(TestConnectJob);
};
class ConnectJobTest : public testing::Test {