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 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 namespace storage { | 34 namespace storage { |
35 class SpecialStoragePolicy; | 35 class SpecialStoragePolicy; |
36 } | 36 } |
37 | 37 |
38 namespace content { | 38 namespace content { |
39 | 39 |
40 class BackgroundSyncController; | 40 class BackgroundSyncController; |
41 class BlobHandle; | 41 class BlobHandle; |
42 class BrowserPluginGuestManager; | 42 class BrowserPluginGuestManager; |
| 43 class ChooserPermissionManager; |
43 class DownloadManager; | 44 class DownloadManager; |
44 class DownloadManagerDelegate; | 45 class DownloadManagerDelegate; |
45 class IndexedDBContext; | 46 class IndexedDBContext; |
46 class PermissionManager; | 47 class PermissionManager; |
47 class PushMessagingService; | 48 class PushMessagingService; |
48 class ResourceContext; | 49 class ResourceContext; |
49 class SiteInstance; | 50 class SiteInstance; |
50 class StoragePartition; | 51 class StoragePartition; |
51 class SSLHostStateDelegate; | 52 class SSLHostStateDelegate; |
52 | 53 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // return nullptr, implementing the default exception storage strategy. | 191 // return nullptr, implementing the default exception storage strategy. |
191 virtual SSLHostStateDelegate* GetSSLHostStateDelegate() = 0; | 192 virtual SSLHostStateDelegate* GetSSLHostStateDelegate() = 0; |
192 | 193 |
193 // Returns the PermissionManager associated with that context if any, nullptr | 194 // Returns the PermissionManager associated with that context if any, nullptr |
194 // otherwise. | 195 // otherwise. |
195 virtual PermissionManager* GetPermissionManager() = 0; | 196 virtual PermissionManager* GetPermissionManager() = 0; |
196 | 197 |
197 // Returns the BackgroundSyncController associated with that context if any, | 198 // Returns the BackgroundSyncController associated with that context if any, |
198 // nullptr otherwise. | 199 // nullptr otherwise. |
199 virtual BackgroundSyncController* GetBackgroundSyncController() = 0; | 200 virtual BackgroundSyncController* GetBackgroundSyncController() = 0; |
| 201 |
| 202 // Returns the ChooserPermissionManager associated with that context if any, |
| 203 // nullptr otherwise. |
| 204 virtual ChooserPermissionManager* GetChooserPermissionManager() = 0; |
200 }; | 205 }; |
201 | 206 |
202 } // namespace content | 207 } // namespace content |
203 | 208 |
204 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ | 209 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ |
OLD | NEW |