| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 const content::NotificationSource& source, | 120 const content::NotificationSource& source, |
| 121 const content::NotificationDetails& details) OVERRIDE; | 121 const content::NotificationDetails& details) OVERRIDE; |
| 122 | 122 |
| 123 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 123 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| 124 virtual void StartAutoupdateTimer() OVERRIDE; | 124 virtual void StartAutoupdateTimer() OVERRIDE; |
| 125 #endif | 125 #endif |
| 126 | 126 |
| 127 virtual ChromeNetLog* net_log() OVERRIDE; | 127 virtual ChromeNetLog* net_log() OVERRIDE; |
| 128 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; | 128 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; |
| 129 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; | 129 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; |
| 130 virtual GpuBlacklistUpdater* gpu_blacklist_updater() OVERRIDE; | |
| 131 virtual ComponentUpdateService* component_updater() OVERRIDE; | 130 virtual ComponentUpdateService* component_updater() OVERRIDE; |
| 132 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; | 131 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; |
| 133 | 132 |
| 134 private: | 133 private: |
| 135 // TODO(joi): Remove. Temporary hack to get at CreateIOThreadState. | 134 // TODO(joi): Remove. Temporary hack to get at CreateIOThreadState. |
| 136 friend class ChromeFrameFriendOfBrowserProcessImpl; | 135 friend class ChromeFrameFriendOfBrowserProcessImpl; |
| 137 | 136 |
| 138 // Must be called right before the IO thread is started. | 137 // Must be called right before the IO thread is started. |
| 139 void CreateIOThreadState(); | 138 void CreateIOThreadState(); |
| 140 | 139 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 void RestartBackgroundInstance(); | 276 void RestartBackgroundInstance(); |
| 278 #endif // defined(OS_WIN) || defined(OS_LINUX) | 277 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 279 | 278 |
| 280 #if defined(OS_CHROMEOS) | 279 #if defined(OS_CHROMEOS) |
| 281 scoped_ptr<browser::OomPriorityManager> oom_priority_manager_; | 280 scoped_ptr<browser::OomPriorityManager> oom_priority_manager_; |
| 282 #endif | 281 #endif |
| 283 | 282 |
| 284 // Per-process listener for online state changes. | 283 // Per-process listener for online state changes. |
| 285 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 284 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
| 286 | 285 |
| 287 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; | |
| 288 | |
| 289 #if !defined(OS_CHROMEOS) | 286 #if !defined(OS_CHROMEOS) |
| 290 scoped_ptr<ComponentUpdateService> component_updater_; | 287 scoped_ptr<ComponentUpdateService> component_updater_; |
| 291 | 288 |
| 292 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 289 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
| 293 #endif | 290 #endif |
| 294 | 291 |
| 295 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 292 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 296 }; | 293 }; |
| 297 | 294 |
| 298 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 295 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |