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

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

Issue 11359081: Lazy initialization for ProcessesEventRouter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixor Created 8 years, 1 month 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 Profile* profile_; 209 Profile* profile_;
210 210
211 // The services that are shared between normal and incognito profiles. 211 // The services that are shared between normal and incognito profiles.
212 212
213 scoped_ptr<StateStore> state_store_; 213 scoped_ptr<StateStore> state_store_;
214 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_; 214 scoped_ptr<ShellWindowGeometryCache> shell_window_geometry_cache_;
215 scoped_ptr<ExtensionPrefs> extension_prefs_; 215 scoped_ptr<ExtensionPrefs> extension_prefs_;
216 // LazyBackgroundTaskQueue is a dependency of 216 // LazyBackgroundTaskQueue is a dependency of
217 // MessageService and EventRouter. 217 // MessageService and EventRouter.
218 scoped_ptr<LazyBackgroundTaskQueue> lazy_background_task_queue_; 218 scoped_ptr<LazyBackgroundTaskQueue> lazy_background_task_queue_;
219 scoped_ptr<EventRouter> event_router_;
219 scoped_ptr<MessageService> message_service_; 220 scoped_ptr<MessageService> message_service_;
220 scoped_ptr<EventRouter> extension_event_router_;
221 scoped_ptr<NavigationObserver> navigation_observer_; 221 scoped_ptr<NavigationObserver> navigation_observer_;
222 scoped_refptr<UserScriptMaster> user_script_master_; 222 scoped_refptr<UserScriptMaster> user_script_master_;
223 // ExtensionService depends on ExtensionPrefs and StateStore. 223 // ExtensionService depends on ExtensionPrefs and StateStore.
224 scoped_ptr<ExtensionService> extension_service_; 224 scoped_ptr<ExtensionService> extension_service_;
225 scoped_ptr<ManagementPolicy> management_policy_; 225 scoped_ptr<ManagementPolicy> management_policy_;
226 // extension_info_map_ needs to outlive extension_process_manager_. 226 // extension_info_map_ needs to outlive extension_process_manager_.
227 scoped_refptr<ExtensionInfoMap> extension_info_map_; 227 scoped_refptr<ExtensionInfoMap> extension_info_map_;
228 }; 228 };
229 229
230 Profile* profile_; 230 Profile* profile_;
(...skipping 13 matching lines...) Expand all
244 scoped_ptr<ApiResourceManager< 244 scoped_ptr<ApiResourceManager<
245 UsbDeviceResource> > usb_device_resource_manager_; 245 UsbDeviceResource> > usb_device_resource_manager_;
246 scoped_ptr<RulesRegistryService> rules_registry_service_; 246 scoped_ptr<RulesRegistryService> rules_registry_service_;
247 247
248 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); 248 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl);
249 }; 249 };
250 250
251 } // namespace extensions 251 } // namespace extensions
252 252
253 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ 253 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698