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

Unified Diff: remoting/host/signaling_connector.cc

Issue 719983002: Reporting of policy errors via host-offline-reason: part 3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hor-nohoststatussender
Patch Set: Rebasing... Created 5 years, 11 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') | remoting/remoting_host_srcs.gypi » ('j') | 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 dbc2f3392cfbfef26c5611f3597c8b18746c9496..adc1571097c1a9a31ee4307f050650a1bf7b442e 100644
--- a/remoting/host/signaling_connector.cc
+++ b/remoting/host/signaling_connector.cc
@@ -45,8 +45,9 @@ SignalingConnector::~SignalingConnector() {
net::NetworkChangeNotifier::RemoveIPAddressObserver(this);
}
-void SignalingConnector::EnableOAuth(OAuthTokenGetter* oauth_token_getter) {
- oauth_token_getter_ = oauth_token_getter;
+void SignalingConnector::EnableOAuth(
+ scoped_ptr<OAuthTokenGetter> oauth_token_getter) {
+ oauth_token_getter_ = oauth_token_getter.Pass();
}
void SignalingConnector::OnSignalStrategyStateChange(
« no previous file with comments | « remoting/host/signaling_connector.h ('k') | remoting/remoting_host_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698