| Index: extensions/browser/content_verifier_io_data.h
|
| diff --git a/extensions/browser/content_verifier_io_data.h b/extensions/browser/content_verifier_io_data.h
|
| index 92e8248b8ca07376305cebd67e3e319a587aab6f..65f38efa44c7ddaa8b4df87b1e093b24e2cf6f8c 100644
|
| --- a/extensions/browser/content_verifier_io_data.h
|
| +++ b/extensions/browser/content_verifier_io_data.h
|
| @@ -6,13 +6,13 @@
|
| #define EXTENSIONS_BROWSER_CONTENT_VERIFIER_IO_DATA_H_
|
|
|
| #include <map>
|
| +#include <memory>
|
| #include <set>
|
| #include <string>
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/memory/linked_ptr.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/version.h"
|
|
|
| namespace extensions {
|
| @@ -23,17 +23,18 @@ class ContentVerifierIOData
|
| : public base::RefCountedThreadSafe<ContentVerifierIOData> {
|
| public:
|
| struct ExtensionData {
|
| - scoped_ptr<std::set<base::FilePath>> browser_image_paths;
|
| + std::unique_ptr<std::set<base::FilePath>> browser_image_paths;
|
| base::Version version;
|
|
|
| - ExtensionData(scoped_ptr<std::set<base::FilePath>> browser_image_paths,
|
| + ExtensionData(std::unique_ptr<std::set<base::FilePath>> browser_image_paths,
|
| const base::Version& version);
|
| ~ExtensionData();
|
| };
|
|
|
| ContentVerifierIOData();
|
|
|
| - void AddData(const std::string& extension_id, scoped_ptr<ExtensionData> data);
|
| + void AddData(const std::string& extension_id,
|
| + std::unique_ptr<ExtensionData> data);
|
| void RemoveData(const std::string& extension_id);
|
| void Clear();
|
|
|
|
|