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

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

Issue 1254363004: Move ownership of AppSorting from ExtensionPrefs to ExtensionSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing include Created 5 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
« no previous file with comments | « extensions/browser/mock_extension_system.h ('k') | extensions/browser/null_app_sorting.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 } 43 }
44 44
45 InfoMap* MockExtensionSystem::info_map() { 45 InfoMap* MockExtensionSystem::info_map() {
46 return nullptr; 46 return nullptr;
47 } 47 }
48 48
49 QuotaService* MockExtensionSystem::quota_service() { 49 QuotaService* MockExtensionSystem::quota_service() {
50 return nullptr; 50 return nullptr;
51 } 51 }
52 52
53 AppSorting* MockExtensionSystem::app_sorting() {
54 return nullptr;
55 }
56
53 const OneShotEvent& MockExtensionSystem::ready() const { 57 const OneShotEvent& MockExtensionSystem::ready() const {
54 return ready_; 58 return ready_;
55 } 59 }
56 60
57 ContentVerifier* MockExtensionSystem::content_verifier() { 61 ContentVerifier* MockExtensionSystem::content_verifier() {
58 return nullptr; 62 return nullptr;
59 } 63 }
60 64
61 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( 65 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
62 const Extension* extension) { 66 const Extension* extension) {
63 return scoped_ptr<ExtensionSet>(); 67 return scoped_ptr<ExtensionSet>();
64 } 68 }
65 69
66 } // namespace extensions 70 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/mock_extension_system.h ('k') | extensions/browser/null_app_sorting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698