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_BROWSER_RESOURCE_CONTEXT_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ |
6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ | 6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ |
7 | 7 |
8 #include "content/public/browser/resource_context.h" | 8 #include "content/public/browser/resource_context.h" |
9 | 9 |
| 10 class ChromeURLDataManagerBackend; |
| 11 |
10 namespace content { | 12 namespace content { |
11 | 13 |
12 class ChromeBlobStorageContext; | 14 class ChromeBlobStorageContext; |
13 class BrowserContext; | 15 class BrowserContext; |
14 class HostZoomMap; | 16 class HostZoomMap; |
15 | 17 |
16 // Getters for objects that are part of BrowserContext which are also used on | 18 // Getters for objects that are part of BrowserContext which are also used on |
17 // the IO thread. These are only accessed by content so they're not on the | 19 // the IO thread. These are only accessed by content so they're not on the |
18 // public API. | 20 // public API. |
19 | 21 |
20 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext( | 22 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext( |
21 ResourceContext* resource_context); | 23 ResourceContext* resource_context); |
22 | 24 |
23 HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context); | 25 HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context); |
24 | 26 |
| 27 ChromeURLDataManagerBackend* GetURLDataManagerForResourceContext( |
| 28 ResourceContext* context); |
| 29 |
25 // Initialize the above data on the ResourceContext from a given BrowserContext. | 30 // Initialize the above data on the ResourceContext from a given BrowserContext. |
26 void InitializeResourceContext(BrowserContext* browser_context); | 31 void InitializeResourceContext(BrowserContext* browser_context); |
27 | 32 |
28 } // namespace content | 33 } // namespace content |
29 | 34 |
30 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ | 35 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ |
OLD | NEW |