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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual extensions::EventRouterForwarder* | 85 virtual extensions::EventRouterForwarder* |
86 extension_event_router_forwarder() OVERRIDE; | 86 extension_event_router_forwarder() OVERRIDE; |
87 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 87 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
88 #if defined(ENABLE_MESSAGE_CENTER) | 88 #if defined(ENABLE_MESSAGE_CENTER) |
89 virtual message_center::MessageCenter* message_center() OVERRIDE; | 89 virtual message_center::MessageCenter* message_center() OVERRIDE; |
90 #endif | 90 #endif |
91 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 91 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
92 virtual policy::PolicyService* policy_service() OVERRIDE; | 92 virtual policy::PolicyService* policy_service() OVERRIDE; |
93 virtual IconManager* icon_manager() OVERRIDE; | 93 virtual IconManager* icon_manager() OVERRIDE; |
94 virtual GLStringManager* gl_string_manager() OVERRIDE; | 94 virtual GLStringManager* gl_string_manager() OVERRIDE; |
| 95 virtual GpuModeManager* gpu_mode_manager() OVERRIDE; |
95 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; | 96 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() OVERRIDE; |
96 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; | 97 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; |
97 virtual void CreateDevToolsHttpProtocolHandler( | 98 virtual void CreateDevToolsHttpProtocolHandler( |
98 Profile* profile, | 99 Profile* profile, |
99 chrome::HostDesktopType host_desktop_type, | 100 chrome::HostDesktopType host_desktop_type, |
100 const std::string& ip, | 101 const std::string& ip, |
101 int port, | 102 int port, |
102 const std::string& frontend_url) OVERRIDE; | 103 const std::string& frontend_url) OVERRIDE; |
103 virtual unsigned int AddRefModule() OVERRIDE; | 104 virtual unsigned int AddRefModule() OVERRIDE; |
104 virtual unsigned int ReleaseModule() OVERRIDE; | 105 virtual unsigned int ReleaseModule() OVERRIDE; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 scoped_ptr<ProfileManager> profile_manager_; | 183 scoped_ptr<ProfileManager> profile_manager_; |
183 | 184 |
184 bool created_local_state_; | 185 bool created_local_state_; |
185 scoped_ptr<PrefService> local_state_; | 186 scoped_ptr<PrefService> local_state_; |
186 | 187 |
187 bool created_icon_manager_; | 188 bool created_icon_manager_; |
188 scoped_ptr<IconManager> icon_manager_; | 189 scoped_ptr<IconManager> icon_manager_; |
189 | 190 |
190 scoped_ptr<GLStringManager> gl_string_manager_; | 191 scoped_ptr<GLStringManager> gl_string_manager_; |
191 | 192 |
| 193 scoped_ptr<GpuModeManager> gpu_mode_manager_; |
| 194 |
192 scoped_refptr<extensions::EventRouterForwarder> | 195 scoped_refptr<extensions::EventRouterForwarder> |
193 extension_event_router_forwarder_; | 196 extension_event_router_forwarder_; |
194 | 197 |
195 #if !defined(OS_ANDROID) | 198 #if !defined(OS_ANDROID) |
196 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 199 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
197 | 200 |
198 // Bookmark prompt controller displays the prompt for frequently visited URL. | 201 // Bookmark prompt controller displays the prompt for frequently visited URL. |
199 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; | 202 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; |
200 #endif | 203 #endif |
201 | 204 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 #endif | 300 #endif |
298 | 301 |
299 // TODO(eroman): Remove this when done debugging 113031. This tracks | 302 // TODO(eroman): Remove this when done debugging 113031. This tracks |
300 // the callstack which released the final module reference count. | 303 // the callstack which released the final module reference count. |
301 base::debug::StackTrace release_last_reference_callstack_; | 304 base::debug::StackTrace release_last_reference_callstack_; |
302 | 305 |
303 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 306 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
304 }; | 307 }; |
305 | 308 |
306 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 309 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |