OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 namespace net { | 47 namespace net { |
48 class URLRequestContextGetter; | 48 class URLRequestContextGetter; |
49 } | 49 } |
50 | 50 |
51 namespace policy { | 51 namespace policy { |
52 class BrowserPolicyConnector; | 52 class BrowserPolicyConnector; |
53 class PolicyService; | 53 class PolicyService; |
54 } | 54 } |
55 | 55 |
56 namespace prerender { | 56 namespace prerender { |
57 class PrerenderTracker; | 57 class PrerenderRenderViewTracker; |
58 } | 58 } |
59 | 59 |
60 namespace printing { | 60 namespace printing { |
61 class BackgroundPrintingManager; | 61 class BackgroundPrintingManager; |
62 class PrintJobManager; | 62 class PrintJobManager; |
63 class PrintPreviewTabController; | 63 class PrintPreviewTabController; |
64 } | 64 } |
65 | 65 |
66 namespace safe_browsing { | 66 namespace safe_browsing { |
67 class ClientSideDetectionService; | 67 class ClientSideDetectionService; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // browser. Note that restart code will strip some of the command line keys | 187 // browser. Note that restart code will strip some of the command line keys |
188 // and all loose values from the cl this instance of Chrome was launched with, | 188 // and all loose values from the cl this instance of Chrome was launched with, |
189 // and add the command line key that will force Chrome to start in the | 189 // and add the command line key that will force Chrome to start in the |
190 // background mode. For the full list of "blacklisted" keys, refer to | 190 // background mode. For the full list of "blacklisted" keys, refer to |
191 // |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc. | 191 // |kSwitchesToRemoveOnAutorestart| array in browser_process_impl.cc. |
192 virtual void StartAutoupdateTimer() = 0; | 192 virtual void StartAutoupdateTimer() = 0; |
193 #endif | 193 #endif |
194 | 194 |
195 virtual ChromeNetLog* net_log() = 0; | 195 virtual ChromeNetLog* net_log() = 0; |
196 | 196 |
197 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 197 virtual prerender::PrerenderRenderViewTracker* |
| 198 prerender_render_view_tracker() = 0; |
198 | 199 |
199 virtual ComponentUpdateService* component_updater() = 0; | 200 virtual ComponentUpdateService* component_updater() = 0; |
200 | 201 |
201 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 202 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
202 | 203 |
203 private: | 204 private: |
204 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 205 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
205 }; | 206 }; |
206 | 207 |
207 extern BrowserProcess* g_browser_process; | 208 extern BrowserProcess* g_browser_process; |
208 | 209 |
209 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 210 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |