commit | 5feb16fcf80fdca5ab8eb72c834bd30d314dad18 | [log] [tgz] |
---|---|---|
author | Daniel Cheng <[email protected]> | Mon Feb 28 06:52:07 2022 |
committer | Chromium LUCI CQ <[email protected]> | Mon Feb 28 06:52:07 2022 |
tree | fe1baec12efb8999c4529c2b443b9cb55e9f30cd | |
parent | 36d5f1955218c17c7778507dad26b08c7a8e4dac [diff] [blame] |
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);