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