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

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

Issue 796453003: Introduce DeclarativeUserScriptManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 6 years 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 16 matching lines...) Expand all
27 } 27 }
28 28
29 ManagementPolicy* MockExtensionSystem::management_policy() { 29 ManagementPolicy* MockExtensionSystem::management_policy() {
30 return nullptr; 30 return nullptr;
31 } 31 }
32 32
33 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() { 33 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() {
34 return nullptr; 34 return nullptr;
35 } 35 }
36 36
37 DeclarativeUserScriptManager*
38 MockExtensionSystem::declarative_user_script_manager() {
39 return nullptr;
40 }
41
37 StateStore* MockExtensionSystem::state_store() { 42 StateStore* MockExtensionSystem::state_store() {
38 return nullptr; 43 return nullptr;
39 } 44 }
40 45
41 StateStore* MockExtensionSystem::rules_store() { 46 StateStore* MockExtensionSystem::rules_store() {
42 return nullptr; 47 return nullptr;
43 } 48 }
44 49
45 InfoMap* MockExtensionSystem::info_map() { 50 InfoMap* MockExtensionSystem::info_map() {
46 return nullptr; 51 return nullptr;
(...skipping 20 matching lines...) Expand all
67 } 72 }
68 73
69 const OneShotEvent& MockExtensionSystem::ready() const { 74 const OneShotEvent& MockExtensionSystem::ready() const {
70 return ready_; 75 return ready_;
71 } 76 }
72 77
73 ContentVerifier* MockExtensionSystem::content_verifier() { 78 ContentVerifier* MockExtensionSystem::content_verifier() {
74 return nullptr; 79 return nullptr;
75 } 80 }
76 81
77 DeclarativeUserScriptMaster*
78 MockExtensionSystem::GetDeclarativeUserScriptMasterByExtension(
79 const ExtensionId& extension_id) {
80 return nullptr;
81 }
82
83 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( 82 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
84 const Extension* extension) { 83 const Extension* extension) {
85 return scoped_ptr<ExtensionSet>(); 84 return scoped_ptr<ExtensionSet>();
86 } 85 }
87 86
88 } // namespace extensions 87 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/mock_extension_system.h ('k') | extensions/shell/browser/shell_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698