Index: extensions/shell/browser/api/identity/identity_api.cc |
diff --git a/extensions/shell/browser/api/identity/identity_api.cc b/extensions/shell/browser/api/identity/identity_api.cc |
index ac3042750f3386e00b27984d25dbc105eab65b56..15564d6e51b4bc65490a5241b4faebf0c3d3795b 100644 |
--- a/extensions/shell/browser/api/identity/identity_api.cc |
+++ b/extensions/shell/browser/api/identity/identity_api.cc |
@@ -61,7 +61,7 @@ void IdentityGetAuthTokenFunction::SetMintTokenFlowForTesting( |
} |
ExtensionFunction::ResponseAction IdentityGetAuthTokenFunction::Run() { |
- scoped_ptr<api::identity::GetAuthToken::Params> params( |
+ std::unique_ptr<api::identity::GetAuthToken::Params> params( |
api::identity::GetAuthToken::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
@@ -152,7 +152,7 @@ IdentityRemoveCachedAuthTokenFunction:: |
} |
ExtensionFunction::ResponseAction IdentityRemoveCachedAuthTokenFunction::Run() { |
- scoped_ptr<api::identity::RemoveCachedAuthToken::Params> params( |
+ std::unique_ptr<api::identity::RemoveCachedAuthToken::Params> params( |
api::identity::RemoveCachedAuthToken::Params::Create(*args_)); |
EXTENSION_FUNCTION_VALIDATE(params.get()); |
// This stub identity API does not maintain a token cache, so there is nothing |