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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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
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 "chrome/browser/extensions/api/alarms/alarm_manager.h" 8 #include "chrome/browser/extensions/api/alarms/alarm_manager.h"
9 #include "chrome/browser/extensions/api/messaging/message_service.h" 9 #include "chrome/browser/extensions/api/messaging/message_service.h"
10 #include "chrome/browser/extensions/blacklist.h" 10 #include "chrome/browser/extensions/blacklist.h"
11 #include "chrome/browser/extensions/event_router.h" 11 #include "chrome/browser/extensions/event_router.h"
12 #include "chrome/browser/extensions/extension_info_map.h" 12 #include "chrome/browser/extensions/extension_info_map.h"
13 #include "chrome/browser/extensions/extension_pref_value_map.h" 13 #include "chrome/browser/extensions/extension_pref_value_map.h"
14 #include "chrome/browser/extensions/extension_pref_value_map_factory.h" 14 #include "chrome/browser/extensions/extension_pref_value_map_factory.h"
15 #include "chrome/browser/extensions/extension_process_manager.h" 15 #include "chrome/browser/extensions/extension_process_manager.h"
16 #include "chrome/browser/extensions/extension_service.h" 16 #include "chrome/browser/extensions/extension_service.h"
17 #include "chrome/browser/extensions/extension_system.h" 17 #include "chrome/browser/extensions/extension_system.h"
18 #include "chrome/browser/extensions/management_policy.h" 18 #include "chrome/browser/extensions/management_policy.h"
19 #include "chrome/browser/extensions/shell_window_geometry_cache.h" 19 #include "chrome/browser/extensions/shell_window_geometry_cache.h"
20 #include "chrome/browser/extensions/standard_management_policy_provider.h" 20 #include "chrome/browser/extensions/standard_management_policy_provider.h"
21 #include "chrome/browser/extensions/state_store.h" 21 #include "chrome/browser/extensions/state_store.h"
22 #include "chrome/browser/extensions/user_script_master.h" 22 #include "chrome/browser/extensions/user_script_master.h"
23 #include "chrome/browser/prefs/pref_service.h"
23 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/browser/value_store/testing_value_store.h" 25 #include "chrome/browser/value_store/testing_value_store.h"
25 #include "chrome/common/chrome_switches.h" 26 #include "chrome/common/chrome_switches.h"
26 #include "content/public/browser/browser_thread.h" 27 #include "content/public/browser/browser_thread.h"
27 28
28 using content::BrowserThread; 29 using content::BrowserThread;
29 30
30 namespace extensions { 31 namespace extensions {
31 32
32 TestExtensionSystem::TestExtensionSystem(Profile* profile) 33 TestExtensionSystem::TestExtensionSystem(Profile* profile)
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 Blacklist* TestExtensionSystem::blacklist() { 177 Blacklist* TestExtensionSystem::blacklist() {
177 return blacklist_.get(); 178 return blacklist_.get();
178 } 179 }
179 180
180 // static 181 // static
181 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) { 182 ProfileKeyedService* TestExtensionSystem::Build(Profile* profile) {
182 return new TestExtensionSystem(profile); 183 return new TestExtensionSystem(profile);
183 } 184 }
184 185
185 } // namespace extensions 186 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698