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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 class MessageCenter; | 62 class MessageCenter; |
63 } | 63 } |
64 #endif | 64 #endif |
65 | 65 |
66 namespace net { | 66 namespace net { |
67 class URLRequestContextGetter; | 67 class URLRequestContextGetter; |
68 } | 68 } |
69 | 69 |
70 namespace policy { | 70 namespace policy { |
71 class BrowserPolicyConnector; | 71 class BrowserPolicyConnector; |
| 72 #if defined(OS_CHROMEOS) |
| 73 class DevicePolicyChangeWatcher; |
| 74 #endif |
72 class PolicyService; | 75 class PolicyService; |
73 } | 76 } |
74 | 77 |
75 namespace prerender { | 78 namespace prerender { |
76 class PrerenderTracker; | 79 class PrerenderTracker; |
77 } | 80 } |
78 | 81 |
79 namespace printing { | 82 namespace printing { |
80 class BackgroundPrintingManager; | 83 class BackgroundPrintingManager; |
81 class PrintJobManager; | 84 class PrintJobManager; |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 virtual prerender::PrerenderTracker* prerender_tracker() = 0; | 215 virtual prerender::PrerenderTracker* prerender_tracker() = 0; |
213 | 216 |
214 virtual ComponentUpdateService* component_updater() = 0; | 217 virtual ComponentUpdateService* component_updater() = 0; |
215 | 218 |
216 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 219 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
217 | 220 |
218 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 221 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
219 | 222 |
220 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 223 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; |
221 | 224 |
| 225 #if defined(OS_CHROMEOS) |
| 226 virtual policy::DevicePolicyChangeWatcher* device_policy_change_watcher() = 0; |
| 227 #endif |
| 228 |
222 virtual void PlatformSpecificCommandLineProcessing( | 229 virtual void PlatformSpecificCommandLineProcessing( |
223 const CommandLine& command_line) = 0; | 230 const CommandLine& command_line) = 0; |
224 | 231 |
225 private: | 232 private: |
226 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 233 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
227 }; | 234 }; |
228 | 235 |
229 extern BrowserProcess* g_browser_process; | 236 extern BrowserProcess* g_browser_process; |
230 | 237 |
231 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 238 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |