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