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

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

Issue 13825014: Change RulesRegistryService to use ProfileKeyedAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added static comment Created 7 years, 8 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 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
7 7
8 #include "chrome/browser/extensions/extension_system.h" 8 #include "chrome/browser/extensions/extension_system.h"
9 9
10 class CommandLine; 10 class CommandLine;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual AlarmManager* alarm_manager() OVERRIDE; 58 virtual AlarmManager* alarm_manager() OVERRIDE;
59 virtual LocationManager* location_manager() OVERRIDE; 59 virtual LocationManager* location_manager() OVERRIDE;
60 virtual StateStore* state_store() OVERRIDE; 60 virtual StateStore* state_store() OVERRIDE;
61 virtual StateStore* rules_store() OVERRIDE; 61 virtual StateStore* rules_store() OVERRIDE;
62 virtual ExtensionPrefs* extension_prefs() OVERRIDE; 62 virtual ExtensionPrefs* extension_prefs() OVERRIDE;
63 virtual ShellWindowGeometryCache* shell_window_geometry_cache() OVERRIDE; 63 virtual ShellWindowGeometryCache* shell_window_geometry_cache() OVERRIDE;
64 virtual ExtensionInfoMap* info_map() OVERRIDE; 64 virtual ExtensionInfoMap* info_map() OVERRIDE;
65 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE; 65 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE;
66 virtual MessageService* message_service() OVERRIDE; 66 virtual MessageService* message_service() OVERRIDE;
67 virtual EventRouter* event_router() OVERRIDE; 67 virtual EventRouter* event_router() OVERRIDE;
68 virtual RulesRegistryService* rules_registry_service() OVERRIDE;
69 virtual ApiResourceManager<SerialConnection>* serial_connection_manager() 68 virtual ApiResourceManager<SerialConnection>* serial_connection_manager()
70 OVERRIDE; 69 OVERRIDE;
71 virtual ApiResourceManager<Socket>* socket_manager() OVERRIDE; 70 virtual ApiResourceManager<Socket>* socket_manager() OVERRIDE;
72 virtual ApiResourceManager<UsbDeviceResource>* usb_device_resource_manager() 71 virtual ApiResourceManager<UsbDeviceResource>* usb_device_resource_manager()
73 OVERRIDE; 72 OVERRIDE;
74 virtual ExtensionWarningService* warning_service() OVERRIDE; 73 virtual ExtensionWarningService* warning_service() OVERRIDE;
75 virtual Blacklist* blacklist() OVERRIDE; 74 virtual Blacklist* blacklist() OVERRIDE;
76 75
77 // Factory method for tests to use with SetTestingProfile. 76 // Factory method for tests to use with SetTestingProfile.
78 static ProfileKeyedService* Build(Profile* profile); 77 static ProfileKeyedService* Build(Profile* profile);
(...skipping 15 matching lines...) Expand all
94 scoped_ptr<ExtensionProcessManager> extension_process_manager_; 93 scoped_ptr<ExtensionProcessManager> extension_process_manager_;
95 scoped_ptr<AlarmManager> alarm_manager_; 94 scoped_ptr<AlarmManager> alarm_manager_;
96 scoped_refptr<LocationManager> location_manager_; 95 scoped_refptr<LocationManager> location_manager_;
97 scoped_refptr<ExtensionInfoMap> info_map_; 96 scoped_refptr<ExtensionInfoMap> info_map_;
98 scoped_ptr<ApiResourceManager<Socket> > socket_manager_; 97 scoped_ptr<ApiResourceManager<Socket> > socket_manager_;
99 }; 98 };
100 99
101 } // namespace extensions 100 } // namespace extensions
102 101
103 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_ 102 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698