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

Side by Side Diff: net/proxy/proxy_bypass_rules.cc

Issue 6997006: iwyu: Include stringprintf.h where appropriate, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/proxy/proxy_bypass_rules.h" 5 #include "net/proxy/proxy_bypass_rules.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util-inl.h"
8 #include "base/stringprintf.h"
8 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
9 #include "base/string_tokenizer.h" 10 #include "base/string_tokenizer.h"
10 #include "base/string_util.h" 11 #include "base/string_util.h"
11 #include "net/base/net_util.h" 12 #include "net/base/net_util.h"
12 13
13 namespace net { 14 namespace net {
14 15
15 namespace { 16 namespace {
16 17
17 class HostnamePatternRule : public ProxyBypassRules::Rule { 18 class HostnamePatternRule : public ProxyBypassRules::Rule {
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 return AddRuleForHostname(scheme, raw, port); 335 return AddRuleForHostname(scheme, raw, port);
335 } 336 }
336 337
337 bool ProxyBypassRules::AddRuleFromStringInternalWithLogging( 338 bool ProxyBypassRules::AddRuleFromStringInternalWithLogging(
338 const std::string& raw, 339 const std::string& raw,
339 bool use_hostname_suffix_matching) { 340 bool use_hostname_suffix_matching) {
340 return AddRuleFromStringInternal(raw, use_hostname_suffix_matching); 341 return AddRuleFromStringInternal(raw, use_hostname_suffix_matching);
341 } 342 }
342 343
343 } // namespace net 344 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698