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

Unified Diff: extensions/browser/info_map.h

Issue 1207363002: Simplify permission-related code for Web Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: further comments Created 5 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: extensions/browser/info_map.h
diff --git a/extensions/browser/info_map.h b/extensions/browser/info_map.h
index 3a30dd4b03105d0e2ab6069599125232c5ef978b..947384ae216c1a1cc061a84f5464064bef8f5b82 100644
--- a/extensions/browser/info_map.h
+++ b/extensions/browser/info_map.h
@@ -71,14 +71,6 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
int site_instance_id);
void UnregisterAllExtensionsInProcess(int process_id);
- // Returns the subset of extensions which has the same |origin| in
- // |process_id| with the specified |permission|.
- void GetExtensionsWithAPIPermissionForSecurityOrigin(
- const GURL& origin,
- int process_id,
- extensions::APIPermission::ID permission,
- ExtensionSet* extensions) const;
-
// Returns true if there is exists an extension with the same origin as
// |origin| in |process_id| with |permission|.
bool SecurityOriginHasAPIPermission(const GURL& origin,

Powered by Google App Engine
This is Rietveld 408576698