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 bb18d02996bbf21e3d3cd319d03c1498e00b9ebe..73c74d21fa67b6edd998644f4553cf116a9f4416 100644 |
--- a/chrome/browser/extensions/api/declarative_content/content_action.h |
+++ b/chrome/browser/extensions/api/declarative_content/content_action.h |
@@ -45,13 +45,17 @@ class ContentAction : public base::RefCounted<ContentAction> { |
// Applies or reverts this ContentAction on a particular tab for a particular |
// extension. Revert exists to keep the actions up to date as the page |
- // changes. |
+ // changes. Reapply exists to reapply changes to a new page, even if the |
+ // previous page also matched relevant conditions. |
virtual void Apply(const std::string& extension_id, |
const base::Time& extension_install_time, |
ApplyInfo* apply_info) const = 0; |
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, |
not at google - send to devlin
2014/08/21 00:32:56
Ditto.
Mark Dittmer
2014/08/21 01:08:48
Done.
|
+ 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 |