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

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

Issue 17298002: Allow tabCapture API to be granted for chrome:// pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use new permission instead Created 7 years, 3 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_granter.h
diff --git a/chrome/browser/extensions/active_tab_permission_granter.h b/chrome/browser/extensions/active_tab_permission_granter.h
index 8584c29682fa3c25ca308e18e9be31ce57af2c3c..0ef033667db88dd567ef203ca2dfa9c074f2857e 100644
--- a/chrome/browser/extensions/active_tab_permission_granter.h
+++ b/chrome/browser/extensions/active_tab_permission_granter.h
@@ -38,10 +38,6 @@ class ActiveTabPermissionGranter : public content::WebContentsObserver,
// tab-specific permissions to it until the next page navigation or refresh.
void GrantIfRequested(const Extension* extension);
- // Returns true if |extension| has been granted tab-specific permissions
- // for this tab.
- bool IsGranted(const Extension* extension);
-
private:
// content::WebContentsObserver implementation.
virtual void DidNavigateMainFrame(

Powered by Google App Engine
This is Rietveld 408576698