OLD | NEW |
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 // When each service is created, we set a flag indicating this. At this point, | 5 // When each service is created, we set a flag indicating this. At this point, |
6 // the service initialization could fail or succeed. This allows us to remember | 6 // the service initialization could fail or succeed. This allows us to remember |
7 // if we tried to create a service, and not try creating it over and over if | 7 // if we tried to create a service, and not try creating it over and over if |
8 // the creation failed. | 8 // the creation failed. |
9 | 9 |
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 virtual IOThread* io_thread() OVERRIDE; | 80 virtual IOThread* io_thread() OVERRIDE; |
81 virtual WatchDogThread* watchdog_thread() OVERRIDE; | 81 virtual WatchDogThread* watchdog_thread() OVERRIDE; |
82 virtual ProfileManager* profile_manager() OVERRIDE; | 82 virtual ProfileManager* profile_manager() OVERRIDE; |
83 virtual PrefService* local_state() OVERRIDE; | 83 virtual PrefService* local_state() OVERRIDE; |
84 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; | 84 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; |
85 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; | 85 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; |
86 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; | 86 virtual BrowserProcessPlatformPart* platform_part() OVERRIDE; |
87 virtual extensions::EventRouterForwarder* | 87 virtual extensions::EventRouterForwarder* |
88 extension_event_router_forwarder() OVERRIDE; | 88 extension_event_router_forwarder() OVERRIDE; |
89 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 89 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
| 90 #if defined(ENABLE_MESSAGE_CENTER) |
90 virtual message_center::MessageCenter* message_center() OVERRIDE; | 91 virtual message_center::MessageCenter* message_center() OVERRIDE; |
| 92 #endif |
91 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 93 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
92 virtual policy::PolicyService* policy_service() OVERRIDE; | 94 virtual policy::PolicyService* policy_service() OVERRIDE; |
93 virtual IconManager* icon_manager() OVERRIDE; | 95 virtual IconManager* icon_manager() OVERRIDE; |
94 virtual GLStringManager* gl_string_manager() OVERRIDE; | 96 virtual GLStringManager* gl_string_manager() OVERRIDE; |
95 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; | 97 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; |
96 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; | 98 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; |
97 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; | 99 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; |
98 virtual void CreateDevToolsHttpProtocolHandler( | 100 virtual void CreateDevToolsHttpProtocolHandler( |
99 Profile* profile, | 101 Profile* profile, |
100 chrome::HostDesktopType host_desktop_type, | 102 chrome::HostDesktopType host_desktop_type, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 scoped_ptr<BrowserProcessPlatformPart> platform_part_; | 310 scoped_ptr<BrowserProcessPlatformPart> platform_part_; |
309 | 311 |
310 // TODO(eroman): Remove this when done debugging 113031. This tracks | 312 // TODO(eroman): Remove this when done debugging 113031. This tracks |
311 // the callstack which released the final module reference count. | 313 // the callstack which released the final module reference count. |
312 base::debug::StackTrace release_last_reference_callstack_; | 314 base::debug::StackTrace release_last_reference_callstack_; |
313 | 315 |
314 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 316 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
315 }; | 317 }; |
316 | 318 |
317 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 319 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |