| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual ResourceDispatcherHost* resource_dispatcher_host(); | 50 virtual ResourceDispatcherHost* resource_dispatcher_host(); |
| 51 virtual MetricsService* metrics_service(); | 51 virtual MetricsService* metrics_service(); |
| 52 virtual IOThread* io_thread(); | 52 virtual IOThread* io_thread(); |
| 53 virtual base::Thread* file_thread(); | 53 virtual base::Thread* file_thread(); |
| 54 virtual base::Thread* db_thread(); | 54 virtual base::Thread* db_thread(); |
| 55 virtual base::Thread* process_launcher_thread(); | 55 virtual base::Thread* process_launcher_thread(); |
| 56 virtual base::Thread* cache_thread(); | 56 virtual base::Thread* cache_thread(); |
| 57 #if defined(USE_X11) | 57 #if defined(USE_X11) |
| 58 virtual base::Thread* background_x11_thread(); | 58 virtual base::Thread* background_x11_thread(); |
| 59 #endif | 59 #endif |
| 60 virtual WatchDogThread* watchdog_thread(); |
| 60 virtual ProfileManager* profile_manager(); | 61 virtual ProfileManager* profile_manager(); |
| 61 virtual PrefService* local_state(); | 62 virtual PrefService* local_state(); |
| 62 virtual DevToolsManager* devtools_manager(); | 63 virtual DevToolsManager* devtools_manager(); |
| 63 virtual SidebarManager* sidebar_manager(); | 64 virtual SidebarManager* sidebar_manager(); |
| 64 virtual ui::Clipboard* clipboard(); | 65 virtual ui::Clipboard* clipboard(); |
| 65 virtual NotificationUIManager* notification_ui_manager(); | 66 virtual NotificationUIManager* notification_ui_manager(); |
| 66 virtual policy::BrowserPolicyConnector* browser_policy_connector(); | 67 virtual policy::BrowserPolicyConnector* browser_policy_connector(); |
| 67 virtual IconManager* icon_manager(); | 68 virtual IconManager* icon_manager(); |
| 68 virtual ThumbnailGenerator* GetThumbnailGenerator(); | 69 virtual ThumbnailGenerator* GetThumbnailGenerator(); |
| 69 virtual AutomationProviderList* InitAutomationProviderList(); | 70 virtual AutomationProviderList* InitAutomationProviderList(); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 117 |
| 117 void CreateIOThread(); | 118 void CreateIOThread(); |
| 118 static void CleanupOnIOThread(); | 119 static void CleanupOnIOThread(); |
| 119 | 120 |
| 120 void WaitForPluginDataRemoverToFinish(); | 121 void WaitForPluginDataRemoverToFinish(); |
| 121 | 122 |
| 122 void CreateFileThread(); | 123 void CreateFileThread(); |
| 123 void CreateDBThread(); | 124 void CreateDBThread(); |
| 124 void CreateProcessLauncherThread(); | 125 void CreateProcessLauncherThread(); |
| 125 void CreateCacheThread(); | 126 void CreateCacheThread(); |
| 127 void CreateWatchdogThread(); |
| 126 void CreateTemplateURLModel(); | 128 void CreateTemplateURLModel(); |
| 127 void CreateProfileManager(); | 129 void CreateProfileManager(); |
| 128 void CreateWebDataService(); | 130 void CreateWebDataService(); |
| 129 void CreateLocalState(); | 131 void CreateLocalState(); |
| 130 void CreateViewedPageTracker(); | 132 void CreateViewedPageTracker(); |
| 131 void CreateIconManager(); | 133 void CreateIconManager(); |
| 132 void CreateDevToolsManager(); | 134 void CreateDevToolsManager(); |
| 133 void CreateSidebarManager(); | 135 void CreateSidebarManager(); |
| 134 void CreateGoogleURLTracker(); | 136 void CreateGoogleURLTracker(); |
| 135 void CreateIntranetRedirectDetector(); | 137 void CreateIntranetRedirectDetector(); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 163 | 165 |
| 164 bool created_db_thread_; | 166 bool created_db_thread_; |
| 165 scoped_ptr<base::Thread> db_thread_; | 167 scoped_ptr<base::Thread> db_thread_; |
| 166 | 168 |
| 167 bool created_process_launcher_thread_; | 169 bool created_process_launcher_thread_; |
| 168 scoped_ptr<base::Thread> process_launcher_thread_; | 170 scoped_ptr<base::Thread> process_launcher_thread_; |
| 169 | 171 |
| 170 bool created_cache_thread_; | 172 bool created_cache_thread_; |
| 171 scoped_ptr<base::Thread> cache_thread_; | 173 scoped_ptr<base::Thread> cache_thread_; |
| 172 | 174 |
| 175 bool created_watchdog_thread_; |
| 176 scoped_ptr<WatchDogThread> watchdog_thread_; |
| 177 |
| 173 bool created_profile_manager_; | 178 bool created_profile_manager_; |
| 174 scoped_ptr<ProfileManager> profile_manager_; | 179 scoped_ptr<ProfileManager> profile_manager_; |
| 175 | 180 |
| 176 bool created_local_state_; | 181 bool created_local_state_; |
| 177 scoped_ptr<PrefService> local_state_; | 182 scoped_ptr<PrefService> local_state_; |
| 178 | 183 |
| 179 bool created_icon_manager_; | 184 bool created_icon_manager_; |
| 180 scoped_ptr<IconManager> icon_manager_; | 185 scoped_ptr<IconManager> icon_manager_; |
| 181 | 186 |
| 182 scoped_refptr<DevToolsHttpProtocolHandler> devtools_http_handler_; | 187 scoped_refptr<DevToolsHttpProtocolHandler> devtools_http_handler_; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 // restarted, and if that's the case, restarts the browser. | 268 // restarted, and if that's the case, restarts the browser. |
| 264 void OnAutoupdateTimer(); | 269 void OnAutoupdateTimer(); |
| 265 bool CanAutorestartForUpdate() const; | 270 bool CanAutorestartForUpdate() const; |
| 266 void RestartPersistentInstance(); | 271 void RestartPersistentInstance(); |
| 267 #endif // defined(OS_WIN) || defined(OS_LINUX) | 272 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 268 | 273 |
| 269 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 274 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 270 }; | 275 }; |
| 271 | 276 |
| 272 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 277 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |