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

Unified Diff: remoting/host/gcd_state_updater.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 | « no previous file | remoting/host/gcd_state_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/gcd_state_updater.h
diff --git a/remoting/host/gcd_state_updater.h b/remoting/host/gcd_state_updater.h
index 84dcceae8d426de447e7c7bd821cbb22c017a063..7962275ad7b7f3a79ead9e5000cd3ac542be2ca5 100644
--- a/remoting/host/gcd_state_updater.h
+++ b/remoting/host/gcd_state_updater.h
@@ -36,7 +36,7 @@ class GcdStateUpdater : public SignalStrategy::Listener {
GcdStateUpdater(const base::Closure& on_update_successful_callback,
const base::Closure& on_unknown_host_id_error,
SignalStrategy* signal_strategy,
- GcdRestClient* gcd_client);
+ scoped_ptr<GcdRestClient> gcd_client);
~GcdStateUpdater() override;
// See HeartbeatSender::SetHostOfflineReason.
@@ -56,7 +56,7 @@ class GcdStateUpdater : public SignalStrategy::Listener {
base::Closure on_update_successful_callback_;
base::Closure on_unknown_host_id_error_;
SignalStrategy* signal_strategy_;
- GcdRestClient* gcd_rest_client_;
+ scoped_ptr<GcdRestClient> gcd_rest_client_;
BackoffTimer timer_;
base::ThreadChecker thread_checker_;
bool has_pending_state_request_ = false;
« no previous file with comments | « no previous file | remoting/host/gcd_state_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698