Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: extensions/browser/value_store/test_value_store_factory.h

Issue 1909773002: Convert //extensions/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/value_store/test_value_store_factory.h
diff --git a/extensions/browser/value_store/test_value_store_factory.h b/extensions/browser/value_store/test_value_store_factory.h
index 86fbee77c8af190c693760e3ebf6baa4ac089982..28cd1ddc9b08b2891a97c2ecbeab8b4980381616 100644
--- a/extensions/browser/value_store/test_value_store_factory.h
+++ b/extensions/browser/value_store/test_value_store_factory.h
@@ -6,9 +6,9 @@
#define EXTENSIONS_BROWSER_VALUE_STORE_TEST_VALUE_STORE_FACTORY_H_
#include <map>
+#include <memory>
#include <set>
-#include "base/memory/scoped_ptr.h"
#include "extensions/browser/value_store/value_store_factory.h"
#include "extensions/common/extension.h"
@@ -25,9 +25,9 @@ class TestValueStoreFactory : public ValueStoreFactory {
explicit TestValueStoreFactory(const base::FilePath& db_path);
// ValueStoreFactory
- scoped_ptr<ValueStore> CreateRulesStore() override;
- scoped_ptr<ValueStore> CreateStateStore() override;
- scoped_ptr<ValueStore> CreateSettingsStore(
+ std::unique_ptr<ValueStore> CreateRulesStore() override;
+ std::unique_ptr<ValueStore> CreateStateStore() override;
+ std::unique_ptr<ValueStore> CreateSettingsStore(
settings_namespace::Namespace settings_namespace,
ModelType model_type,
const ExtensionId& extension_id) override;

Powered by Google App Engine
This is Rietveld 408576698