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

Side by Side Diff: net/http/http_stream_factory.cc

Issue 3447008: base: Finish moving the SplitString functions from string_util.h to string_split.h (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: chromeos fixes Created 10 years, 2 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/http/http_network_layer.cc ('k') | net/tools/hresolv/hresolv.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/http/http_stream_factory.h" 5 #include "net/http/http_stream_factory.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util-inl.h"
8 #include "base/string_number_conversions.h" 8 #include "base/string_number_conversions.h"
9 #include "base/string_split.h"
9 #include "base/string_util.h" 10 #include "base/string_util.h"
10 #include "net/base/net_log.h" 11 #include "net/base/net_log.h"
11 #include "net/base/net_util.h" 12 #include "net/base/net_util.h"
12 #include "net/http/http_network_session.h" 13 #include "net/http/http_network_session.h"
13 #include "net/http/http_stream_request.h" 14 #include "net/http/http_stream_request.h"
14 15
15 namespace net { 16 namespace net {
16 17
17 // static 18 // static
18 const HostMappingRules* HttpStreamFactory::host_mapping_rules_ = NULL; 19 const HostMappingRules* HttpStreamFactory::host_mapping_rules_ = NULL;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 url_parse::Component(0, port_str.size())); 125 url_parse::Component(0, port_str.size()));
125 replacements.SetHost(endpoint->host().c_str(), 126 replacements.SetHost(endpoint->host().c_str(),
126 url_parse::Component(0, endpoint->host().size())); 127 url_parse::Component(0, endpoint->host().size()));
127 return url.ReplaceComponents(replacements); 128 return url.ReplaceComponents(replacements);
128 } 129 }
129 return url; 130 return url;
130 } 131 }
131 132
132 } // namespace net 133 } // namespace net
133 134
OLDNEW
« no previous file with comments | « net/http/http_network_layer.cc ('k') | net/tools/hresolv/hresolv.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698