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

Unified Diff: chrome/browser/extensions/test_extension_system.h

Issue 959413003: Implement <webview>.addContentScript/removeContentScript API [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make the API work before the first navigation of guest. 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: chrome/browser/extensions/test_extension_system.h
diff --git a/chrome/browser/extensions/test_extension_system.h b/chrome/browser/extensions/test_extension_system.h
index 2fa9a9ce3d2b4760f154a65767d7ea31c8cd559a..62ae22259c09af5567bfa0ef5af521aa791a204e 100644
--- a/chrome/browser/extensions/test_extension_system.h
+++ b/chrome/browser/extensions/test_extension_system.h
@@ -28,6 +28,7 @@ class ExtensionPrefs;
class RuntimeData;
class SharedUserScriptMaster;
class StandardManagementPolicyProvider;
+class WebViewContentScriptManager;
// Test ExtensionSystem, for use with TestingProfile.
class TestExtensionSystem : public ExtensionSystem {
@@ -74,6 +75,7 @@ class TestExtensionSystem : public ExtensionSystem {
ErrorConsole* error_console() override;
InstallVerifier* install_verifier() override;
QuotaService* quota_service() override;
+ WebViewContentScriptManager* web_view_content_script_manager() override;
const OneShotEvent& ready() const override;
ContentVerifier* content_verifier() override;
scoped_ptr<ExtensionSet> GetDependentExtensions(
@@ -103,6 +105,7 @@ class TestExtensionSystem : public ExtensionSystem {
scoped_ptr<ErrorConsole> error_console_;
scoped_ptr<InstallVerifier> install_verifier_;
scoped_ptr<QuotaService> quota_service_;
+ scoped_ptr<WebViewContentScriptManager> web_view_content_script_manager_;
OneShotEvent ready_;
};

Powered by Google App Engine
This is Rietveld 408576698