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 // This interface is for managing the global services of the application. Each | 5 // This interface is for managing the global services of the application. Each |
6 // service is lazily created when requested the first time. The service getters | 6 // service is lazily created when requested the first time. The service getters |
7 // will return NULL if the service is not available, so callers must check for | 7 // will return NULL if the service is not available, so callers must check for |
8 // this condition. | 8 // this condition. |
9 | 9 |
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 // and add the command line key that will force Chrome to start in the | 217 // and add the command line key that will force Chrome to start in the |
218 // background mode. For the full list of "blacklisted" keys, refer to | 218 // background mode. For the full list of "blacklisted" keys, refer to |
219 // |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc. | 219 // |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc. |
220 virtual void StartAutoupdateTimer() = 0; | 220 virtual void StartAutoupdateTimer() = 0; |
221 #endif | 221 #endif |
222 | 222 |
223 virtual ChromeNetLog* net_log() = 0; | 223 virtual ChromeNetLog* net_log() = 0; |
224 | 224 |
225 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 225 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
226 | 226 |
227 #if defined(IPC_MESSAGE_LOG_ENABLED) | |
228 // Enable or disable IPC logging for the browser, all processes | |
229 // derived from ChildProcess (plugin etc), and all | |
230 // renderers. | |
231 virtual void SetIPCLoggingEnabled(bool enable) = 0; | |
232 #endif | |
233 | |
234 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; | 227 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; |
235 | 228 |
236 virtual GpuBlacklistUpdater* gpu_blacklist_updater() = 0; | 229 virtual GpuBlacklistUpdater* gpu_blacklist_updater() = 0; |
237 | 230 |
238 virtual ComponentUpdateService* component_updater() = 0; | 231 virtual ComponentUpdateService* component_updater() = 0; |
239 | 232 |
240 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 233 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
241 | 234 |
242 private: | 235 private: |
243 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 236 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
244 }; | 237 }; |
245 | 238 |
246 extern BrowserProcess* g_browser_process; | 239 extern BrowserProcess* g_browser_process; |
247 | 240 |
248 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 241 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |