| Index: extensions/common/manifest_handler_unittest.cc
|
| diff --git a/extensions/common/manifest_handler_unittest.cc b/extensions/common/manifest_handler_unittest.cc
|
| index cbccf1204b2c3293108be40559e10274c7f83cd7..3452a8749a60430bd23e17c67ce76cec3963abcc 100644
|
| --- a/extensions/common/manifest_handler_unittest.cc
|
| +++ b/extensions/common/manifest_handler_unittest.cc
|
| @@ -2,19 +2,20 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "extensions/common/manifest_handler.h"
|
| +
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| #include "base/files/file_path.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/stl_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "extensions/common/extension.h"
|
| #include "extensions/common/extension_builder.h"
|
| #include "extensions/common/install_warning.h"
|
| -#include "extensions/common/manifest_handler.h"
|
| #include "extensions/common/value_builder.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -212,13 +213,13 @@ TEST_F(ManifestHandlerTest, FailingHandlers) {
|
| ScopedTestingManifestHandlerRegistry registry;
|
| // Can't use ExtensionBuilder, because this extension will fail to
|
| // be parsed.
|
| - scoped_ptr<base::DictionaryValue> manifest_a(
|
| + std::unique_ptr<base::DictionaryValue> manifest_a(
|
| DictionaryBuilder()
|
| - .Set("name", "no name")
|
| - .Set("version", "0")
|
| - .Set("manifest_version", 2)
|
| - .Set("a", 1)
|
| - .Build());
|
| + .Set("name", "no name")
|
| + .Set("version", "0")
|
| + .Set("manifest_version", 2)
|
| + .Set("a", 1)
|
| + .Build());
|
|
|
| // Succeeds when "a" is not recognized.
|
| std::string error;
|
|
|