| Index: chrome/browser/extensions/api/declarative_content/content_predicate.h
|
| diff --git a/chrome/browser/extensions/api/declarative_content/content_predicate.h b/chrome/browser/extensions/api/declarative_content/content_predicate.h
|
| index 0f1c8172fa11a7e787f117f556846f595eced9ec..1237ddf65e787bba2c4cad8e160b1a502fc2e3bc 100644
|
| --- a/chrome/browser/extensions/api/declarative_content/content_predicate.h
|
| +++ b/chrome/browser/extensions/api/declarative_content/content_predicate.h
|
| @@ -5,10 +5,10 @@
|
| #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_PREDICATE_H_
|
| #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_CONTENT_PREDICATE_H_
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
|
|
| namespace base {
|
| class Value;
|
| @@ -59,7 +59,7 @@ class ContentPredicateFactory {
|
|
|
| // Creates a new predicate from |value|, as specified in the declarative
|
| // API. Sets *|error| and returns null if creation failed for any reason.
|
| - virtual scoped_ptr<const ContentPredicate> CreatePredicate(
|
| + virtual std::unique_ptr<const ContentPredicate> CreatePredicate(
|
| const Extension* extension,
|
| const base::Value& value,
|
| std::string* error) = 0;
|
|
|