blob: 13b612453f134edec3fc524159e12242a66d0035 [file] [log] [blame]
[email protected]314c3e22012-02-21 03:57:421// 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]314c3e22012-02-21 03:57:4210class ChromeBlobStorageContext;
[email protected]314c3e22012-02-21 03:57:4211
[email protected]314c3e22012-02-21 03:57:4212namespace content {
13
14class BrowserContext;
[email protected]5fe3713a2012-02-22 08:31:5615class HostZoomMap;
[email protected]314c3e22012-02-21 03:57:4216
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]7dc89352012-09-11 21:41:0120
[email protected]314c3e22012-02-21 03:57:4221ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
22 ResourceContext* resource_context);
[email protected]55c0eca2012-09-15 05:12:3423
[email protected]5fe3713a2012-02-22 08:31:5624HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context);
[email protected]314c3e22012-02-21 03:57:4225
26// Initialize the above data on the ResourceContext from a given BrowserContext.
[email protected]7e26ac92012-02-27 20:15:0527void InitializeResourceContext(BrowserContext* browser_context);
[email protected]314c3e22012-02-21 03:57:4228
29} // namespace content
30
31#endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_