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

Unified Diff: extensions/browser/mock_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/browser/extension_system.h ('k') | extensions/browser/mock_extension_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/mock_extension_system.h
diff --git a/extensions/browser/mock_extension_system.h b/extensions/browser/mock_extension_system.h
index e02b9caba3df7f9f7b77b8309d4ec062644e2535..4b227bd853799fe18b049e6bf3d93f6316d9312b 100644
--- a/extensions/browser/mock_extension_system.h
+++ b/extensions/browser/mock_extension_system.h
@@ -30,7 +30,7 @@ class MockExtensionSystem : 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;
@@ -46,6 +46,9 @@ class MockExtensionSystem : 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_;
« no previous file with comments | « extensions/browser/extension_system.h ('k') | extensions/browser/mock_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698