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

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

Issue 460203002: Extract a MockExtensionSystem to be used with TestExtensionsBrowserClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: symbol visibility issues 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « extensions/browser/mock_extension_system.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "extensions/browser/mock_extension_system.h"
6
7 #include "extensions/common/extension_set.h"
8
9 namespace extensions {
10
11 //
12 // MockExtensionSystem
13 //
14
15 MockExtensionSystem::MockExtensionSystem(content::BrowserContext* context)
16 : browser_context_(context) {
17 }
18
19 MockExtensionSystem::~MockExtensionSystem() {
20 }
21
22 void MockExtensionSystem::InitForRegularProfile(bool extensions_enabled) {
23 }
24
25 ExtensionService* MockExtensionSystem::extension_service() {
26 return NULL;
27 }
28
29 RuntimeData* MockExtensionSystem::runtime_data() {
30 return NULL;
31 }
32
33 ManagementPolicy* MockExtensionSystem::management_policy() {
34 return NULL;
35 }
36
37 UserScriptMaster* MockExtensionSystem::user_script_master() {
38 return NULL;
39 }
40
41 ProcessManager* MockExtensionSystem::process_manager() {
42 return NULL;
43 }
44
45 StateStore* MockExtensionSystem::state_store() {
46 return NULL;
47 }
48
49 StateStore* MockExtensionSystem::rules_store() {
50 return NULL;
51 }
52
53 InfoMap* MockExtensionSystem::info_map() {
54 return NULL;
55 }
56
57 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() {
58 return NULL;
59 }
60
61 EventRouter* MockExtensionSystem::event_router() {
62 return NULL;
63 }
64
65 ExtensionWarningService* MockExtensionSystem::warning_service() {
66 return NULL;
67 }
68
69 Blacklist* MockExtensionSystem::blacklist() {
70 return NULL;
71 }
72
73 ErrorConsole* MockExtensionSystem::error_console() {
74 return NULL;
75 }
76
77 InstallVerifier* MockExtensionSystem::install_verifier() {
78 return NULL;
79 }
80
81 QuotaService* MockExtensionSystem::quota_service() {
82 return NULL;
83 }
84
85 const OneShotEvent& MockExtensionSystem::ready() const {
86 return ready_;
87 }
88
89 ContentVerifier* MockExtensionSystem::content_verifier() {
90 return NULL;
91 }
92
93 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
94 const Extension* extension) {
95 return scoped_ptr<ExtensionSet>();
96 }
97
98 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/mock_extension_system.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698