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

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

Issue 1129063011: Extract LazyBackgroundTaskQueue from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 45
46 StateStore* MockExtensionSystem::rules_store() { 46 StateStore* MockExtensionSystem::rules_store() {
47 return nullptr; 47 return nullptr;
48 } 48 }
49 49
50 InfoMap* MockExtensionSystem::info_map() { 50 InfoMap* MockExtensionSystem::info_map() {
51 return nullptr; 51 return nullptr;
52 } 52 }
53 53
54 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() {
55 return nullptr;
56 }
57
58 EventRouter* MockExtensionSystem::event_router() { 54 EventRouter* MockExtensionSystem::event_router() {
59 return event_router_; 55 return event_router_;
60 } 56 }
61 57
62 InstallVerifier* MockExtensionSystem::install_verifier() { 58 InstallVerifier* MockExtensionSystem::install_verifier() {
63 return nullptr; 59 return nullptr;
64 } 60 }
65 61
66 QuotaService* MockExtensionSystem::quota_service() { 62 QuotaService* MockExtensionSystem::quota_service() {
67 return nullptr; 63 return nullptr;
68 } 64 }
69 65
70 const OneShotEvent& MockExtensionSystem::ready() const { 66 const OneShotEvent& MockExtensionSystem::ready() const {
71 return ready_; 67 return ready_;
72 } 68 }
73 69
74 ContentVerifier* MockExtensionSystem::content_verifier() { 70 ContentVerifier* MockExtensionSystem::content_verifier() {
75 return nullptr; 71 return nullptr;
76 } 72 }
77 73
78 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( 74 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
79 const Extension* extension) { 75 const Extension* extension) {
80 return scoped_ptr<ExtensionSet>(); 76 return scoped_ptr<ExtensionSet>();
81 } 77 }
82 78
83 } // namespace extensions 79 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698