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

Unified Diff: extensions/shell/browser/shell_extension_system.h

Issue 420543002: Declarative content scripts: Browser-side: per-extension shared memory regions (lazily loaded) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit and rebase from master Created 6 years, 4 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
« no previous file with comments | « extensions/common/user_script.cc ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_extension_system.h
diff --git a/extensions/shell/browser/shell_extension_system.h b/extensions/shell/browser/shell_extension_system.h
index b47c9a5857ebe805a80972f9bb8dafc2b2bfd99e..966bfaf8e3d0f658ce1398aa0e8513e6c3bdf510 100644
--- a/extensions/shell/browser/shell_extension_system.h
+++ b/extensions/shell/browser/shell_extension_system.h
@@ -23,11 +23,13 @@ class BrowserContext;
namespace extensions {
+class DeclarativeUserScriptMaster;
class EventRouter;
class InfoMap;
class LazyBackgroundTaskQueue;
class ProcessManager;
class RendererStartupHelper;
+class SharedUserScriptMaster;
// A simplified version of ExtensionSystem for app_shell. Allows
// app_shell to skip initialization of services it doesn't need.
@@ -52,7 +54,7 @@ class ShellExtensionSystem : public ExtensionSystem {
virtual ExtensionService* extension_service() OVERRIDE;
virtual RuntimeData* runtime_data() OVERRIDE;
virtual ManagementPolicy* management_policy() OVERRIDE;
- virtual UserScriptMaster* user_script_master() OVERRIDE;
+ virtual SharedUserScriptMaster* shared_user_script_master() OVERRIDE;
virtual ProcessManager* process_manager() OVERRIDE;
virtual StateStore* state_store() OVERRIDE;
virtual StateStore* rules_store() OVERRIDE;
@@ -73,6 +75,9 @@ class ShellExtensionSystem : public ExtensionSystem {
virtual ContentVerifier* content_verifier() OVERRIDE;
virtual scoped_ptr<ExtensionSet> GetDependentExtensions(
const Extension* extension) OVERRIDE;
+ virtual DeclarativeUserScriptMaster*
+ GetDeclarativeUserScriptMasterByExtension(
+ const ExtensionId& extension_id) OVERRIDE;
private:
content::BrowserContext* browser_context_; // Not owned.
« no previous file with comments | « extensions/common/user_script.cc ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698