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

Unified Diff: extensions/common/extension_set.h

Issue 988633003: Refactoring: de-couple Extensions from "script injection System" [render side]:4 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/common/extension_set.h
diff --git a/extensions/common/extension_set.h b/extensions/common/extension_set.h
index c46163faef6a9ffb53e19c07160bd98ec17c531f..f672330c518d29bec9e4f126a561b03d448fb8e9 100644
--- a/extensions/common/extension_set.h
+++ b/extensions/common/extension_set.h
@@ -15,6 +15,8 @@
#include "extensions/common/extension.h"
#include "url/gurl.h"
+struct HostID;
+
namespace extensions {
// The one true extension container. Extensions are identified by their id.
@@ -124,6 +126,9 @@ class ExtensionSet {
// Gets the IDs of all extensions in the set.
ExtensionIdSet GetIDs() const;
+ // Gets the HostIDs of all extensions in the set.
+ std::set<HostID> GetHostIDs() const;
Devlin 2015/03/09 16:00:04 This doesn't really belong here. An ExtensionSet
Xi Han 2015/03/09 19:12:36 Moved to UserScriptSetManager.
+
// Returns true if |info| should get extension api bindings and be permitted
// to make api calls. Note that this is independent of what extension
// permissions the given extension has been granted.

Powered by Google App Engine
This is Rietveld 408576698