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

Unified Diff: remoting/host/host_port_allocator.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/heartbeat_sender_unittest.cc ('k') | remoting/host/ipc_desktop_environment_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_port_allocator.cc
diff --git a/remoting/host/host_port_allocator.cc b/remoting/host/host_port_allocator.cc
index cf8a84c00e0eba218003b6457d0c79ca9ecf200f..0849f63043797232f9e33e50cd79bfe4adc4cbc1 100644
--- a/remoting/host/host_port_allocator.cc
+++ b/remoting/host/host_port_allocator.cc
@@ -96,9 +96,9 @@ void HostPortAllocatorSession::SendSessionRequest(const std::string& host,
GetSessionRequestUrl() + "&sn=1");
scoped_ptr<net::URLFetcher> url_fetcher(
net::URLFetcher::Create(url, net::URLFetcher::GET, this));
- url_fetcher->SetRequestContext(url_context_);
- url_fetcher->AddExtraRequestHeader(
- "X-Talk-Google-Relay-Auth: " + relay_token());
+ url_fetcher->SetRequestContext(url_context_.get());
+ url_fetcher->AddExtraRequestHeader("X-Talk-Google-Relay-Auth: " +
+ relay_token());
url_fetcher->AddExtraRequestHeader("X-Google-Relay-Auth: " + relay_token());
url_fetcher->AddExtraRequestHeader("X-Stream-Type: chromoting");
url_fetcher->Start();
« no previous file with comments | « remoting/host/heartbeat_sender_unittest.cc ('k') | remoting/host/ipc_desktop_environment_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698