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

Side by Side Diff: remoting/host/service_client.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
« no previous file with comments | « remoting/host/dns_blackhole_checker.cc ('k') | remoting/host/setup/oauth_helper.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 "remoting/host/service_client.h" 5 #include "remoting/host/service_client.h"
6 6
7 #include "base/json/json_writer.h" 7 #include "base/json/json_writer.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/values.h" 9 #include "base/values.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"
14 #include "url/gurl.h"
15 15
16 namespace remoting { 16 namespace remoting {
17 17
18 class ServiceClient::Core 18 class ServiceClient::Core
19 : public base::RefCountedThreadSafe<ServiceClient::Core>, 19 : public base::RefCountedThreadSafe<ServiceClient::Core>,
20 public net::URLFetcherDelegate { 20 public net::URLFetcherDelegate {
21 public: 21 public:
22 Core(const std::string& chromoting_hosts_url, 22 Core(const std::string& chromoting_hosts_url,
23 net::URLRequestContextGetter* request_context_getter) 23 net::URLRequestContextGetter* request_context_getter)
24 : request_context_getter_(request_context_getter), 24 : request_context_getter_(request_context_getter),
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 } 163 }
164 164
165 void ServiceClient::UnregisterHost( 165 void ServiceClient::UnregisterHost(
166 const std::string& host_id, 166 const std::string& host_id,
167 const std::string& oauth_access_token, 167 const std::string& oauth_access_token,
168 Delegate* delegate) { 168 Delegate* delegate) {
169 return core_->UnregisterHost(host_id, oauth_access_token, delegate); 169 return core_->UnregisterHost(host_id, oauth_access_token, delegate);
170 } 170 }
171 171
172 } // namespace gaia 172 } // namespace gaia
OLDNEW
« no previous file with comments | « remoting/host/dns_blackhole_checker.cc ('k') | remoting/host/setup/oauth_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698