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 29 matching lines...) Expand all Loading... |
40 class RenderWidgetSnapshotTaker; | 40 class RenderWidgetSnapshotTaker; |
41 class SafeBrowsingService; | 41 class SafeBrowsingService; |
42 class StatusTray; | 42 class StatusTray; |
43 class WatchDogThread; | 43 class WatchDogThread; |
44 #if defined(ENABLE_WEBRTC) | 44 #if defined(ENABLE_WEBRTC) |
45 class WebRtcLogUploader; | 45 class WebRtcLogUploader; |
46 #endif | 46 #endif |
47 | 47 |
48 namespace chrome { | 48 namespace chrome { |
49 class MediaFileSystemRegistry; | 49 class MediaFileSystemRegistry; |
| 50 class StorageMonitor; |
50 } | 51 } |
51 | 52 |
52 namespace chrome_variations { | 53 namespace chrome_variations { |
53 class VariationsService; | 54 class VariationsService; |
54 } | 55 } |
55 | 56 |
56 namespace extensions { | 57 namespace extensions { |
57 class EventRouterForwarder; | 58 class EventRouterForwarder; |
58 } | 59 } |
59 | 60 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 virtual ComponentUpdateService* component_updater() = 0; | 211 virtual ComponentUpdateService* component_updater() = 0; |
211 | 212 |
212 virtual CRLSetFetcher* crl_set_fetcher() = 0; | 213 virtual CRLSetFetcher* crl_set_fetcher() = 0; |
213 | 214 |
214 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; | 215 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; |
215 | 216 |
216 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; | 217 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; |
217 | 218 |
218 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; | 219 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; |
219 | 220 |
| 221 virtual chrome::StorageMonitor* storage_monitor() = 0; |
| 222 |
220 virtual bool created_local_state() const = 0; | 223 virtual bool created_local_state() const = 0; |
221 | 224 |
222 #if defined(ENABLE_WEBRTC) | 225 #if defined(ENABLE_WEBRTC) |
223 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; | 226 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; |
224 #endif | 227 #endif |
225 | 228 |
226 private: | 229 private: |
227 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 230 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
228 }; | 231 }; |
229 | 232 |
230 extern BrowserProcess* g_browser_process; | 233 extern BrowserProcess* g_browser_process; |
231 | 234 |
232 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 235 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |