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

Side by Side Diff: extensions/browser/mock_extension_system.cc

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/browser/mock_extension_system.h" 5 #include "extensions/browser/mock_extension_system.h"
6 6
7 #include "extensions/common/extension_set.h" 7 #include "extensions/common/extension_set.h"
8 8
9 namespace extensions { 9 namespace extensions {
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 } 64 }
65 65
66 InstallVerifier* MockExtensionSystem::install_verifier() { 66 InstallVerifier* MockExtensionSystem::install_verifier() {
67 return nullptr; 67 return nullptr;
68 } 68 }
69 69
70 QuotaService* MockExtensionSystem::quota_service() { 70 QuotaService* MockExtensionSystem::quota_service() {
71 return nullptr; 71 return nullptr;
72 } 72 }
73 73
74 WebViewContentScriptManager*
75 MockExtensionSystem::web_view_content_script_manager() {
76 return nullptr;
77 }
78
74 const OneShotEvent& MockExtensionSystem::ready() const { 79 const OneShotEvent& MockExtensionSystem::ready() const {
75 return ready_; 80 return ready_;
76 } 81 }
77 82
78 ContentVerifier* MockExtensionSystem::content_verifier() { 83 ContentVerifier* MockExtensionSystem::content_verifier() {
79 return nullptr; 84 return nullptr;
80 } 85 }
81 86
82 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( 87 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
83 const Extension* extension) { 88 const Extension* extension) {
84 return scoped_ptr<ExtensionSet>(); 89 return scoped_ptr<ExtensionSet>();
85 } 90 }
86 91
87 } // namespace extensions 92 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698