OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual base::Thread* process_launcher_thread(); | 54 virtual base::Thread* process_launcher_thread(); |
55 virtual base::Thread* cache_thread(); | 55 virtual base::Thread* cache_thread(); |
56 #if defined(USE_X11) | 56 #if defined(USE_X11) |
57 virtual base::Thread* background_x11_thread(); | 57 virtual base::Thread* background_x11_thread(); |
58 #endif | 58 #endif |
59 virtual ProfileManager* profile_manager(); | 59 virtual ProfileManager* profile_manager(); |
60 virtual PrefService* local_state(); | 60 virtual PrefService* local_state(); |
61 virtual DevToolsManager* devtools_manager(); | 61 virtual DevToolsManager* devtools_manager(); |
62 virtual SidebarManager* sidebar_manager(); | 62 virtual SidebarManager* sidebar_manager(); |
63 virtual ui::Clipboard* clipboard(); | 63 virtual ui::Clipboard* clipboard(); |
| 64 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder(); |
64 virtual NotificationUIManager* notification_ui_manager(); | 65 virtual NotificationUIManager* notification_ui_manager(); |
65 virtual policy::BrowserPolicyConnector* browser_policy_connector(); | 66 virtual policy::BrowserPolicyConnector* browser_policy_connector(); |
66 virtual IconManager* icon_manager(); | 67 virtual IconManager* icon_manager(); |
67 virtual ThumbnailGenerator* GetThumbnailGenerator(); | 68 virtual ThumbnailGenerator* GetThumbnailGenerator(); |
68 virtual AutomationProviderList* InitAutomationProviderList(); | 69 virtual AutomationProviderList* InitAutomationProviderList(); |
69 virtual void InitDevToolsHttpProtocolHandler( | 70 virtual void InitDevToolsHttpProtocolHandler( |
70 const std::string& ip, | 71 const std::string& ip, |
71 int port, | 72 int port, |
72 const std::string& frontend_url); | 73 const std::string& frontend_url); |
73 virtual void InitDevToolsLegacyProtocolHandler(int port); | 74 virtual void InitDevToolsLegacyProtocolHandler(int port); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 171 |
171 bool created_profile_manager_; | 172 bool created_profile_manager_; |
172 scoped_ptr<ProfileManager> profile_manager_; | 173 scoped_ptr<ProfileManager> profile_manager_; |
173 | 174 |
174 bool created_local_state_; | 175 bool created_local_state_; |
175 scoped_ptr<PrefService> local_state_; | 176 scoped_ptr<PrefService> local_state_; |
176 | 177 |
177 bool created_icon_manager_; | 178 bool created_icon_manager_; |
178 scoped_ptr<IconManager> icon_manager_; | 179 scoped_ptr<IconManager> icon_manager_; |
179 | 180 |
| 181 scoped_refptr<ExtensionEventRouterForwarder> |
| 182 extension_event_router_forwarder_; |
| 183 |
180 scoped_refptr<DevToolsHttpProtocolHandler> devtools_http_handler_; | 184 scoped_refptr<DevToolsHttpProtocolHandler> devtools_http_handler_; |
181 | 185 |
182 scoped_refptr<DevToolsProtocolHandler> devtools_legacy_handler_; | 186 scoped_refptr<DevToolsProtocolHandler> devtools_legacy_handler_; |
183 | 187 |
184 bool created_devtools_manager_; | 188 bool created_devtools_manager_; |
185 scoped_refptr<DevToolsManager> devtools_manager_; | 189 scoped_refptr<DevToolsManager> devtools_manager_; |
186 | 190 |
187 bool created_sidebar_manager_; | 191 bool created_sidebar_manager_; |
188 scoped_refptr<SidebarManager> sidebar_manager_; | 192 scoped_refptr<SidebarManager> sidebar_manager_; |
189 | 193 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 // restarted, and if that's the case, restarts the browser. | 262 // restarted, and if that's the case, restarts the browser. |
259 void OnAutoupdateTimer(); | 263 void OnAutoupdateTimer(); |
260 bool CanAutorestartForUpdate() const; | 264 bool CanAutorestartForUpdate() const; |
261 void RestartPersistentInstance(); | 265 void RestartPersistentInstance(); |
262 #endif // defined(OS_WIN) || defined(OS_LINUX) | 266 #endif // defined(OS_WIN) || defined(OS_LINUX) |
263 | 267 |
264 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 268 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
265 }; | 269 }; |
266 | 270 |
267 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 271 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |