| OLD | NEW |
| 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/http/http_stream_factory.h" | 5 #include "net/http/http_stream_factory.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 9 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
| 10 #include "net/base/host_mapping_rules.h" | 10 #include "net/base/host_mapping_rules.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 replacements.SetHost(endpoint->host().c_str(), | 90 replacements.SetHost(endpoint->host().c_str(), |
| 91 url::Component(0, endpoint->host().size())); | 91 url::Component(0, endpoint->host().size())); |
| 92 return url.ReplaceComponents(replacements); | 92 return url.ReplaceComponents(replacements); |
| 93 } | 93 } |
| 94 return url; | 94 return url; |
| 95 } | 95 } |
| 96 | 96 |
| 97 HttpStreamFactory::HttpStreamFactory() {} | 97 HttpStreamFactory::HttpStreamFactory() {} |
| 98 | 98 |
| 99 } // namespace net | 99 } // namespace net |
| OLD | NEW |