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

Unified Diff: chrome/browser/extensions/api/extension_action/extension_action_api.h

Issue 482993003: Move logic to clear ExtensionAction values to ExtensionActionAPI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/extension_action/extension_action_api.h
diff --git a/chrome/browser/extensions/api/extension_action/extension_action_api.h b/chrome/browser/extensions/api/extension_action/extension_action_api.h
index de614f84407ac447783b77f5aba49cc7f89a8e88..9d111dfda52510673135c7af1b0875a4ea3a5697 100644
--- a/chrome/browser/extensions/api/extension_action/extension_action_api.h
+++ b/chrome/browser/extensions/api/extension_action/extension_action_api.h
@@ -90,6 +90,10 @@ class ExtensionActionAPI : public BrowserContextKeyedAPI {
content::WebContents* web_contents,
content::BrowserContext* browser_context);
+ // Clears the values for all ExtensionActions for the tab associated with the
+ // given |web_contents|.
+ void ClearAllValuesForTab(content::WebContents* web_contents);
+
private:
friend class BrowserContextKeyedAPIFactory<ExtensionActionAPI>;

Powered by Google App Engine
This is Rietveld 408576698