| Index: chrome/browser/extensions/api/declarative_content/content_action.h
|
| diff --git a/chrome/browser/extensions/api/declarative_content/content_action.h b/chrome/browser/extensions/api/declarative_content/content_action.h
|
| index 347cf53e86a47956373354367c6e66c7847753b5..e8905b99e0958c08c795fe1295c82d85adef42b5 100644
|
| --- a/chrome/browser/extensions/api/declarative_content/content_action.h
|
| +++ b/chrome/browser/extensions/api/declarative_content/content_action.h
|
| @@ -56,6 +56,9 @@ class ContentAction : public base::RefCounted<ContentAction> {
|
| virtual void Revert(const std::string& extension_id,
|
| const base::Time& extension_install_time,
|
| ApplyInfo* apply_info) const = 0;
|
| + virtual void Reapply(const std::string& extension_id,
|
| + const base::Time& extension_install_time,
|
| + ApplyInfo* apply_info) const = 0;
|
|
|
| // Factory method that instantiates a concrete ContentAction
|
| // implementation according to |json_action|, the representation of the
|
| @@ -63,7 +66,8 @@ class ContentAction : public base::RefCounted<ContentAction> {
|
| // Sets |error| and returns NULL in case of a semantic error that cannot
|
| // be caught by schema validation. Sets |bad_message| and returns NULL
|
| // in case the input is syntactically unexpected.
|
| - static scoped_refptr<ContentAction> Create(const Extension* extension,
|
| + static scoped_refptr<ContentAction> Create(Profile* profile,
|
| + const Extension* extension,
|
| const base::Value& json_action,
|
| std::string* error,
|
| bool* bad_message);
|
|
|