Migrate base::{size,empty,data} to STL equivalents in //net.

Bug: 1299695
Change-Id: I59b68edbd6ddd09a0979a89440a42bc240a2831b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3493186
Reviewed-by: Lei Zhang <[email protected]>
Reviewed-by: Kenichi Ishibashi <[email protected]>
Owners-Override: Lei Zhang <[email protected]>
Commit-Queue: Daniel Cheng <[email protected]>
Auto-Submit: Daniel Cheng <[email protected]>
Cr-Commit-Position: refs/heads/main@{#975674}
diff --git a/net/proxy_resolution/proxy_config_unittest.cc b/net/proxy_resolution/proxy_config_unittest.cc
index a19b17b..d4d43aa 100644
--- a/net/proxy_resolution/proxy_config_unittest.cc
+++ b/net/proxy_resolution/proxy_config_unittest.cc
@@ -3,7 +3,7 @@
 // found in the LICENSE file.
 
 #include "net/proxy_resolution/proxy_config.h"
-#include "base/cxx17_backports.h"
+
 #include "base/json/json_writer.h"
 #include "base/values.h"
 #include "net/base/proxy_string_util.h"
@@ -436,7 +436,7 @@
 
   ProxyConfig config;
 
-  for (size_t i = 0; i < base::size(tests); ++i) {
+  for (size_t i = 0; i < std::size(tests); ++i) {
     config.proxy_rules().ParseFromString(tests[i].proxy_rules);
 
     EXPECT_EQ(tests[i].type, config.proxy_rules().type);