Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Side by Side Diff: net/base/net_util.cc

Issue 1162973005: Stop including ip_address_number.h from net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some header sorting changes, seems to be breaking windows Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/base/net_util.h ('k') | net/base/network_interfaces_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/base/net_util.h" 5 #include "net/base/net_util.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 28 matching lines...) Expand all
39 #include "base/logging.h" 39 #include "base/logging.h"
40 #include "base/strings/string_number_conversions.h" 40 #include "base/strings/string_number_conversions.h"
41 #include "base/strings/string_piece.h" 41 #include "base/strings/string_piece.h"
42 #include "base/strings/string_split.h" 42 #include "base/strings/string_split.h"
43 #include "base/strings/string_util.h" 43 #include "base/strings/string_util.h"
44 #include "base/strings/stringprintf.h" 44 #include "base/strings/stringprintf.h"
45 #include "base/strings/utf_string_conversions.h" 45 #include "base/strings/utf_string_conversions.h"
46 #include "base/sys_byteorder.h" 46 #include "base/sys_byteorder.h"
47 #include "base/values.h" 47 #include "base/values.h"
48 #include "net/base/dns_util.h" 48 #include "net/base/dns_util.h"
49 #include "net/base/ip_address_number.h"
49 #include "net/base/net_module.h" 50 #include "net/base/net_module.h"
50 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 51 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
51 #include "net/grit/net_resources.h" 52 #include "net/grit/net_resources.h"
52 #include "net/http/http_content_disposition.h" 53 #include "net/http/http_content_disposition.h"
53 #include "url/gurl.h" 54 #include "url/gurl.h"
54 #include "url/third_party/mozilla/url_parse.h" 55 #include "url/third_party/mozilla/url_parse.h"
55 #include "url/url_canon.h" 56 #include "url/url_canon.h"
56 #include "url/url_canon_ip.h" 57 #include "url/url_canon_ip.h"
57 58
58 #if defined(OS_ANDROID) 59 #if defined(OS_ANDROID)
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 }; 790 };
790 const std::string& host = url.host(); 791 const std::string& host = url.host();
791 for (const char* suffix : kGoogleHostSuffixes) { 792 for (const char* suffix : kGoogleHostSuffixes) {
792 if (EndsWith(host, suffix, false)) 793 if (EndsWith(host, suffix, false))
793 return true; 794 return true;
794 } 795 }
795 return false; 796 return false;
796 } 797 }
797 798
798 } // namespace net 799 } // namespace net
OLDNEW
« no previous file with comments | « net/base/net_util.h ('k') | net/base/network_interfaces_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698