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

Unified Diff: chrome/browser/extensions/api/declarative_content/content_action.h

Issue 493633003: Browser changes for wiring up RequestContentScript API to shared memory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ditto Created 6 years, 4 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: 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);

Powered by Google App Engine
This is Rietveld 408576698