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) | |
91 virtual message_center::MessageCenter* message_center() OVERRIDE; | 90 virtual message_center::MessageCenter* message_center() OVERRIDE; |
92 #endif | |
93 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 91 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
94 virtual policy::PolicyService* policy_service() OVERRIDE; | 92 virtual policy::PolicyService* policy_service() OVERRIDE; |
95 virtual IconManager* icon_manager() OVERRIDE; | 93 virtual IconManager* icon_manager() OVERRIDE; |
96 virtual GLStringManager* gl_string_manager() OVERRIDE; | 94 virtual GLStringManager* gl_string_manager() OVERRIDE; |
97 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; | 95 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; |
98 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; | 96 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; |
99 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; | 97 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; |
100 virtual void CreateDevToolsHttpProtocolHandler( | 98 virtual void CreateDevToolsHttpProtocolHandler( |
101 Profile* profile, | 99 Profile* profile, |
102 chrome::HostDesktopType host_desktop_type, | 100 chrome::HostDesktopType host_desktop_type, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 scoped_ptr<BrowserProcessPlatformPart> platform_part_; | 308 scoped_ptr<BrowserProcessPlatformPart> platform_part_; |
311 | 309 |
312 // TODO(eroman): Remove this when done debugging 113031. This tracks | 310 // TODO(eroman): Remove this when done debugging 113031. This tracks |
313 // the callstack which released the final module reference count. | 311 // the callstack which released the final module reference count. |
314 base::debug::StackTrace release_last_reference_callstack_; | 312 base::debug::StackTrace release_last_reference_callstack_; |
315 | 313 |
316 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 314 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
317 }; | 315 }; |
318 | 316 |
319 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 317 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |