[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ | ||||
6 | #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ | ||||
7 | |||||
8 | #include "content/public/browser/resource_context.h" | ||||
9 | |||||
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 10 | class ChromeBlobStorageContext; |
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 11 | |
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 12 | namespace content { |
13 | |||||
14 | class BrowserContext; | ||||
[email protected] | 5fe3713a | 2012-02-22 08:31:56 | [diff] [blame] | 15 | class HostZoomMap; |
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 16 | |
17 | // Getters for objects that are part of BrowserContext which are also used on | ||||
18 | // the IO thread. These are only accessed by content so they're not on the | ||||
19 | // public API. | ||||
[email protected] | 7dc8935 | 2012-09-11 21:41:01 | [diff] [blame] | 20 | |
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 21 | ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext( |
22 | ResourceContext* resource_context); | ||||
[email protected] | 55c0eca | 2012-09-15 05:12:34 | [diff] [blame^] | 23 | |
[email protected] | 5fe3713a | 2012-02-22 08:31:56 | [diff] [blame] | 24 | HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context); |
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 25 | |
26 | // Initialize the above data on the ResourceContext from a given BrowserContext. | ||||
[email protected] | 7e26ac9 | 2012-02-27 20:15:05 | [diff] [blame] | 27 | void InitializeResourceContext(BrowserContext* browser_context); |
[email protected] | 314c3e2 | 2012-02-21 03:57:42 | [diff] [blame] | 28 | |
29 | } // namespace content | ||||
30 | |||||
31 | #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ |