Index: chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc |
diff --git a/chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc b/chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc |
index 0de30f6f956d4d5740ae8ba92cfeaeb47765730d..2f590068b522982da0c1e9ebfe0a242cc3bfe831 100644 |
--- a/chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc |
+++ b/chrome/browser/extensions/api/cloud_print_private/cloud_print_private_api.cc |
@@ -40,7 +40,7 @@ CloudPrintPrivateSetupConnectorFunction:: |
bool CloudPrintPrivateSetupConnectorFunction::RunAsync() { |
#if defined(ENABLE_PRINT_PREVIEW) |
using api::cloud_print_private::SetupConnector::Params; |
- scoped_ptr<Params> params(Params::Create(*args_)); |
+ std::unique_ptr<Params> params(Params::Create(*args_)); |
if (CloudPrintTestsDelegate::instance()) { |
CloudPrintTestsDelegate::instance()->SetupConnector( |
params->user_email, |
@@ -52,7 +52,7 @@ bool CloudPrintPrivateSetupConnectorFunction::RunAsync() { |
CloudPrintProxyServiceFactory::GetForProfile(GetProfile()); |
if (!service) |
return false; |
- scoped_ptr<base::DictionaryValue> user_setings( |
+ std::unique_ptr<base::DictionaryValue> user_setings( |
params->user_settings.ToValue()); |
service->EnableForUserWithRobot(params->credentials, |
params->robot_email, |