| Index: extensions/browser/api/declarative/rules_cache_delegate.h
|
| diff --git a/extensions/browser/api/declarative/rules_cache_delegate.h b/extensions/browser/api/declarative/rules_cache_delegate.h
|
| index 15553dab75cb3d0e3201a5ec7d16b80ecffd9fa8..f9cca0b8af457f9fc5d91278ed659060e789180b 100644
|
| --- a/extensions/browser/api/declarative/rules_cache_delegate.h
|
| +++ b/extensions/browser/api/declarative/rules_cache_delegate.h
|
| @@ -5,11 +5,11 @@
|
| #ifndef EXTENSIONS_BROWSER_API_DECLARATIVE_RULES_CACHE_DELEGATE_H__
|
| #define EXTENSIONS_BROWSER_API_DECLARATIVE_RULES_CACHE_DELEGATE_H__
|
|
|
| +#include <memory>
|
| #include <set>
|
| #include <string>
|
|
|
| #include "base/gtest_prod_util.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/values.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| @@ -42,7 +42,7 @@ class RulesCacheDelegate {
|
| void Init(RulesRegistry* registry);
|
|
|
| void WriteToStorage(const std::string& extension_id,
|
| - scoped_ptr<base::Value> value);
|
| + std::unique_ptr<base::Value> value);
|
|
|
| base::WeakPtr<RulesCacheDelegate> GetWeakPtr() {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| @@ -69,7 +69,7 @@ class RulesCacheDelegate {
|
| // Read/write a list of rules serialized to Values.
|
| void ReadFromStorage(const std::string& extension_id);
|
| void ReadFromStorageCallback(const std::string& extension_id,
|
| - scoped_ptr<base::Value> value);
|
| + std::unique_ptr<base::Value> value);
|
|
|
| // Check the preferences whether the extension with |extension_id| has some
|
| // rules stored on disk. If this information is not in the preferences, true
|
|
|