| Index: extensions/common/manifest_handlers/oauth2_manifest_handler.cc
|
| diff --git a/extensions/common/manifest_handlers/oauth2_manifest_handler.cc b/extensions/common/manifest_handlers/oauth2_manifest_handler.cc
|
| index 73a1320158b2e407b93506b58718b295d78bcbf6..7d381b5415a49c2ebfa495590e859c3f249f004a 100644
|
| --- a/extensions/common/manifest_handlers/oauth2_manifest_handler.cc
|
| +++ b/extensions/common/manifest_handlers/oauth2_manifest_handler.cc
|
| @@ -6,8 +6,9 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/lazy_instance.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/values.h"
|
| #include "extensions/common/error_utils.h"
|
| @@ -48,7 +49,7 @@ OAuth2ManifestHandler::~OAuth2ManifestHandler() {
|
|
|
| bool OAuth2ManifestHandler::Parse(Extension* extension,
|
| base::string16* error) {
|
| - scoped_ptr<OAuth2Info> info(new OAuth2Info);
|
| + std::unique_ptr<OAuth2Info> info(new OAuth2Info);
|
| const base::DictionaryValue* dict = NULL;
|
| if (!extension->manifest()->GetDictionary(keys::kOAuth2, &dict)) {
|
| *error = base::ASCIIToUTF16(errors::kInvalidOAuth2ClientId);
|
|
|