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

Side by Side Diff: chrome/browser/extensions/test_extension_system.cc

Issue 14208019: Change MessageService to use ProfileKeyedAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Typo fix Created 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/extensions/test_extension_system.h" 5 #include "chrome/browser/extensions/test_extension_system.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/extensions/api/location/location_manager.h" 9 #include "chrome/browser/extensions/api/location/location_manager.h"
10 #include "chrome/browser/extensions/api/messaging/message_service.h"
11 #include "chrome/browser/extensions/blacklist.h" 10 #include "chrome/browser/extensions/blacklist.h"
12 #include "chrome/browser/extensions/event_router.h" 11 #include "chrome/browser/extensions/event_router.h"
13 #include "chrome/browser/extensions/extension_info_map.h" 12 #include "chrome/browser/extensions/extension_info_map.h"
14 #include "chrome/browser/extensions/extension_pref_value_map.h" 13 #include "chrome/browser/extensions/extension_pref_value_map.h"
15 #include "chrome/browser/extensions/extension_pref_value_map_factory.h" 14 #include "chrome/browser/extensions/extension_pref_value_map_factory.h"
16 #include "chrome/browser/extensions/extension_process_manager.h" 15 #include "chrome/browser/extensions/extension_process_manager.h"
17 #include "chrome/browser/extensions/extension_service.h" 16 #include "chrome/browser/extensions/extension_service.h"
18 #include "chrome/browser/extensions/extension_system.h" 17 #include "chrome/browser/extensions/extension_system.h"
19 #include "chrome/browser/extensions/management_policy.h" 18 #include "chrome/browser/extensions/management_policy.h"
20 #include "chrome/browser/extensions/shell_window_geometry_cache.h" 19 #include "chrome/browser/extensions/shell_window_geometry_cache.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 143
145 ExtensionInfoMap* TestExtensionSystem::info_map() { 144 ExtensionInfoMap* TestExtensionSystem::info_map() {
146 return info_map_.get(); 145 return info_map_.get();
147 } 146 }
148 147
149 LazyBackgroundTaskQueue* 148 LazyBackgroundTaskQueue*
150 TestExtensionSystem::lazy_background_task_queue() { 149 TestExtensionSystem::lazy_background_task_queue() {
151 return NULL; 150 return NULL;
152 } 151 }
153 152
154 MessageService* TestExtensionSystem::message_service() {
155 return NULL;
156 }
157
158 EventRouter* TestExtensionSystem::event_router() { 153 EventRouter* TestExtensionSystem::event_router() {
159 return NULL; 154 return NULL;
160 } 155 }
161 156
162 RulesRegistryService* TestExtensionSystem::rules_registry_service() { 157 RulesRegistryService* TestExtensionSystem::rules_registry_service() {
163 return NULL; 158 return NULL;
164 } 159 }
165 160
166 ApiResourceManager<SerialConnection>* 161 ApiResourceManager<SerialConnection>*
167 TestExtensionSystem::serial_connection_manager() { 162 TestExtensionSystem::serial_connection_manager() {
(...skipping 17 matching lines...) Expand all
185 return blacklist_.get(); 180 return blacklist_.get();
186 } 181 }
187 182
188 // static 183 // static
189 ProfileKeyedService* TestExtensionSystem::Build( 184 ProfileKeyedService* TestExtensionSystem::Build(
190 content::BrowserContext* profile) { 185 content::BrowserContext* profile) {
191 return new TestExtensionSystem(static_cast<Profile*>(profile)); 186 return new TestExtensionSystem(static_cast<Profile*>(profile));
192 } 187 }
193 188
194 } // namespace extensions 189 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_system.h ('k') | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698