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

Side by Side Diff: remoting/jingle_glue/chromium_port_allocator.cc

Issue 18919005: Migrate from googleurl/ includes to url/ ones in the remaining top-level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make googleurl a temp include rule - to prevent others including it again Created 7 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "remoting/jingle_glue/chromium_port_allocator.h" 5 #include "remoting/jingle_glue/chromium_port_allocator.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "googleurl/src/gurl.h"
11 #include "net/http/http_status_code.h" 10 #include "net/http/http_status_code.h"
12 #include "net/url_request/url_fetcher.h" 11 #include "net/url_request/url_fetcher.h"
13 #include "net/url_request/url_fetcher_delegate.h" 12 #include "net/url_request/url_fetcher_delegate.h"
14 #include "net/url_request/url_request_context_getter.h" 13 #include "net/url_request/url_request_context_getter.h"
15 #include "remoting/jingle_glue/chromium_socket_factory.h" 14 #include "remoting/jingle_glue/chromium_socket_factory.h"
16 #include "remoting/jingle_glue/network_settings.h" 15 #include "remoting/jingle_glue/network_settings.h"
16 #include "url/gurl.h"
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 namespace { 20 namespace {
21 21
22 class ChromiumPortAllocatorSession 22 class ChromiumPortAllocatorSession
23 : public cricket::HttpPortAllocatorSessionBase, 23 : public cricket::HttpPortAllocatorSessionBase,
24 public net::URLFetcherDelegate { 24 public net::URLFetcherDelegate {
25 public: 25 public:
26 ChromiumPortAllocatorSession( 26 ChromiumPortAllocatorSession(
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 const std::string& content_name, 178 const std::string& content_name,
179 int component, 179 int component,
180 const std::string& ice_username_fragment, 180 const std::string& ice_username_fragment,
181 const std::string& ice_password) { 181 const std::string& ice_password) {
182 return new ChromiumPortAllocatorSession( 182 return new ChromiumPortAllocatorSession(
183 this, content_name, component, ice_username_fragment, ice_password, 183 this, content_name, component, ice_username_fragment, ice_password,
184 stun_hosts(), relay_hosts(), relay_token(), url_context_); 184 stun_hosts(), relay_hosts(), relay_token(), url_context_);
185 } 185 }
186 186
187 } // namespace remoting 187 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/token_validator_factory_impl_unittest.cc ('k') | remoting/protocol/third_party_client_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698