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

Unified Diff: remoting/host/gcd_state_updater.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/gcd_state_updater.h ('k') | remoting/host/gcd_state_updater_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/gcd_state_updater.cc
diff --git a/remoting/host/gcd_state_updater.cc b/remoting/host/gcd_state_updater.cc
index f4921844f717dda83fe320ea3572c90462eca766..5acfacd3b320ba94213d7313591c68c73f888b95 100644
--- a/remoting/host/gcd_state_updater.cc
+++ b/remoting/host/gcd_state_updater.cc
@@ -24,11 +24,11 @@ GcdStateUpdater::GcdStateUpdater(
const base::Closure& on_update_successful_callback,
const base::Closure& on_unknown_host_id_error,
SignalStrategy* signal_strategy,
- GcdRestClient* gcd_rest_client)
+ scoped_ptr<GcdRestClient> gcd_rest_client)
: on_update_successful_callback_(on_update_successful_callback),
on_unknown_host_id_error_(on_unknown_host_id_error),
signal_strategy_(signal_strategy),
- gcd_rest_client_(gcd_rest_client) {
+ gcd_rest_client_(gcd_rest_client.Pass()) {
DCHECK(signal_strategy_);
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « remoting/host/gcd_state_updater.h ('k') | remoting/host/gcd_state_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698