summaryrefslogtreecommitdiffstats
path: root/extensions/browser/extension_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/extension_registry.h')
-rw-r--r--extensions/browser/extension_registry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/browser/extension_registry.h b/extensions/browser/extension_registry.h
index 75724cd..d11111c 100644
--- a/extensions/browser/extension_registry.h
+++ b/extensions/browser/extension_registry.h
@@ -43,6 +43,8 @@ class ExtensionRegistry : public KeyedService {
// Returns the instance for the given |browser_context|.
static ExtensionRegistry* Get(content::BrowserContext* browser_context);
+ content::BrowserContext* browser_context() const { return browser_context_; }
+
// NOTE: These sets are *eventually* mututally exclusive, but an extension can
// appear in two sets for short periods of time.
const ExtensionSet& enabled_extensions() const {