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

Unified Diff: remoting/host/signaling_connector.cc

Issue 1123163002: Updated remoting host to create instances of GCD-related classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host-xmpp-connect2c
Patch Set: Moved ownership of GcdRestClient to GcdStateUpdater Created 5 years, 6 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/signaling_connector.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/signaling_connector.cc
diff --git a/remoting/host/signaling_connector.cc b/remoting/host/signaling_connector.cc
index 7359e15486f1ed1823a6f71582d9f641d33a049e..5e07c2239935f9149227debe188b6f5b8515d05c 100644
--- a/remoting/host/signaling_connector.cc
+++ b/remoting/host/signaling_connector.cc
@@ -26,12 +26,12 @@ const int kMaxReconnectDelaySeconds = 10 * 60;
SignalingConnector::SignalingConnector(
XmppSignalStrategy* signal_strategy,
scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker,
- scoped_ptr<OAuthTokenGetter> oauth_token_getter,
+ OAuthTokenGetter* oauth_token_getter,
const base::Closure& auth_failed_callback)
: signal_strategy_(signal_strategy),
auth_failed_callback_(auth_failed_callback),
dns_blackhole_checker_(dns_blackhole_checker.Pass()),
- oauth_token_getter_(oauth_token_getter.Pass()),
+ oauth_token_getter_(oauth_token_getter),
reconnect_attempts_(0) {
DCHECK(!auth_failed_callback_.is_null());
DCHECK(dns_blackhole_checker_.get());
« no previous file with comments | « remoting/host/signaling_connector.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698