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

Unified Diff: remoting/host/service_client.cc

Issue 15782010: Update remoting/ and jingle/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/setup/start_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/service_client.cc
diff --git a/remoting/host/service_client.cc b/remoting/host/service_client.cc
index d487a97a66a882ff55768e48dd44014a3b79a7b8..edf5e3484d872f83b3eee8a27c960f3b237d94ee 100644
--- a/remoting/host/service_client.cc
+++ b/remoting/host/service_client.cc
@@ -107,7 +107,7 @@ void ServiceClient::Core::MakeGaiaRequest(
delegate_ = delegate;
request_.reset(net::URLFetcher::Create(
0, GURL(chromoting_hosts_url_ + url_suffix), request_type, this));
- request_->SetRequestContext(request_context_getter_);
+ request_->SetRequestContext(request_context_getter_.get());
request_->SetUploadData("application/json; charset=UTF-8", request_body);
request_->AddExtraRequestHeader("Authorization: OAuth " + oauth_access_token);
request_->Start();
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/setup/start_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698