Swap from base/stl_util.h to cxx17_backports.h in url/ .cc files.
base::size() has been moved to base/cxx17_backports.h, so .cc files that use base::size(), but no other function from base/stl_util.h, can directly include base/cxx17_backports.h and not base/stl_util.h. Bug: 1210983 Change-Id: I7b0b96300f74c481c09349146ba2eb518248a4af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2967350 Reviewed-by: Charlie Harrison <csharrison@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#893507}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
b529474ea5
commit
ddedb06ebe
@ -4,7 +4,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "base/stl_util.h"
|
||||
#include "base/cxx17_backports.h"
|
||||
#include "base/strings/string_number_conversions.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "base/stl_util.h"
|
||||
#include "base/cxx17_backports.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "url/gurl.h"
|
||||
#include "url/scheme_host_port.h"
|
||||
|
@ -4,8 +4,8 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "base/cxx17_backports.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/stl_util.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "third_party/icu/source/common/unicode/ucnv.h"
|
||||
#include "url/url_canon.h"
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "base/stl_util.h"
|
||||
#include "base/cxx17_backports.h"
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "base/test/gtest_util.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "base/stl_util.h"
|
||||
#include "base/cxx17_backports.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "url/third_party/mozilla/url_parse.h"
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "base/stl_util.h"
|
||||
#include "base/cxx17_backports.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "url/third_party/mozilla/url_parse.h"
|
||||
#include "url/url_canon.h"
|
||||
|
Reference in New Issue
Block a user