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

Unified Diff: chrome/browser/extensions/active_tab_permission_manager.h

Issue 10535155: Hook the activeTab permission up to the omnibox, page action, and context menu APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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/active_tab_permission_manager.h
diff --git a/chrome/browser/extensions/active_tab_permission_manager.h b/chrome/browser/extensions/active_tab_permission_manager.h
index 1dffe55139fa1a9c724c26d9caa0b587b86c891a..8f6d654c28d476593a3aefd4b41911da2c7d56ee 100644
--- a/chrome/browser/extensions/active_tab_permission_manager.h
+++ b/chrome/browser/extensions/active_tab_permission_manager.h
@@ -33,6 +33,9 @@ class ActiveTabPermissionManager : public content::WebContentsObserver,
// permissions to it until the next page navigation or refresh.
void GrantIfRequested(const Extension* extension);
+ // Like above, except make this find the Extension with |extension_id|.
+ void GrantIfRequested(const std::string& extension_id);
Finnur 2012/06/14 10:53:00 I think the style guide doesn't like two functions
Aaron Boodman 2012/06/14 20:50:45 I think the styleguide allows for overloading in t
+
// content::WebContentsObserver implementation.
//
// This is public to be called from ActiveTabTest as a way to fake creating
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit.cc ('k') | chrome/browser/extensions/active_tab_permission_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698