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

Unified Diff: chrome/common/extensions/extension_set.h

Issue 8312005: Ignore paths when matching patterns for extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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/common/extensions/extension_set.h
diff --git a/chrome/common/extensions/extension_set.h b/chrome/common/extensions/extension_set.h
index 36fd6dabaade61f418927512729a9251c4805c5e..12b4a4131542187dc36ec4341535feea32e0a57e 100644
--- a/chrome/common/extensions/extension_set.h
+++ b/chrome/common/extensions/extension_set.h
@@ -66,6 +66,9 @@ class ExtensionSet {
// permissions the given extension has been granted.
bool ExtensionBindingsAllowed(const GURL& url) const;
+ bool SecurityOriginHasAPIPermission(
+ const std::string& origin, ExtensionAPIPermission::ID permission) const;
Aaron Boodman 2011/10/20 06:53:51 GURL again here.
+
private:
FRIEND_TEST_ALL_PREFIXES(ExtensionSetTest, ExtensionSet);

Powered by Google App Engine
This is Rietveld 408576698