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

Unified Diff: remoting/host/signaling_connector.h

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/remoting_me2me_host.cc ('k') | remoting/host/signaling_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/signaling_connector.h
diff --git a/remoting/host/signaling_connector.h b/remoting/host/signaling_connector.h
index 8a59e903596fccbd06b76083c16d56732ffc38fa..b8186b78e77ff7a43e41de32857509c6bde51143 100644
--- a/remoting/host/signaling_connector.h
+++ b/remoting/host/signaling_connector.h
@@ -31,11 +31,10 @@ class SignalingConnector
public net::NetworkChangeNotifier::IPAddressObserver {
public:
// The |auth_failed_callback| is called when authentication fails.
- SignalingConnector(
- XmppSignalStrategy* signal_strategy,
- scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker,
- scoped_ptr<OAuthTokenGetter> oauth_token_getter,
- const base::Closure& auth_failed_callback);
+ SignalingConnector(XmppSignalStrategy* signal_strategy,
+ scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker,
+ OAuthTokenGetter* oauth_token_getter,
+ const base::Closure& auth_failed_callback);
~SignalingConnector() override;
// OAuthTokenGetter callback.
@@ -65,7 +64,7 @@ class SignalingConnector
base::Closure auth_failed_callback_;
scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker_;
- scoped_ptr<OAuthTokenGetter> oauth_token_getter_;
+ OAuthTokenGetter* oauth_token_getter_;
// Number of times we tried to connect without success.
int reconnect_attempts_;
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/signaling_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698