Index: remoting/host/gcd_state_updater.cc |
diff --git a/remoting/host/gcd_state_updater.cc b/remoting/host/gcd_state_updater.cc |
index c6cc22a4ed12f4d23c247dd2b338b1257254a7a2..d7d57c9005ff073b3d4e5a76b697b09654c0257e 100644 |
--- a/remoting/host/gcd_state_updater.cc |
+++ b/remoting/host/gcd_state_updater.cc |
@@ -28,7 +28,7 @@ GcdStateUpdater::GcdStateUpdater( |
const base::Closure& on_update_successful_callback, |
const base::Closure& on_unknown_host_id_error, |
SignalStrategy* signal_strategy, |
- scoped_ptr<GcdRestClient> gcd_rest_client) |
+ std::unique_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), |
@@ -113,8 +113,8 @@ void GcdStateUpdater::MaybeSendStateUpdate() { |
} |
// Construct an update to the remote state. |
- scoped_ptr<base::DictionaryValue> patch(new base::DictionaryValue); |
- scoped_ptr<base::DictionaryValue> base_state(new base::DictionaryValue); |
+ std::unique_ptr<base::DictionaryValue> patch(new base::DictionaryValue); |
+ std::unique_ptr<base::DictionaryValue> base_state(new base::DictionaryValue); |
pending_request_jid_ = signal_strategy_->GetLocalJid(); |
base_state->SetString("_jabberId", pending_request_jid_); |
base_state->SetString("_hostVersion", STRINGIZE(VERSION)); |