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

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

Issue 1127133006: Extract InstallVerifier 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() { 54 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() {
55 return nullptr; 55 return nullptr;
56 } 56 }
57 57
58 EventRouter* MockExtensionSystem::event_router() { 58 EventRouter* MockExtensionSystem::event_router() {
59 return event_router_; 59 return event_router_;
60 } 60 }
61 61
62 InstallVerifier* MockExtensionSystem::install_verifier() {
63 return nullptr;
64 }
65
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
« 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