blob: ed4de4de4a3a67068b5db058071b370b9240d1c1 [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:4210namespace content {
11
[email protected]c2ab4202012-10-24 22:54:4612class ChromeBlobStorageContext;
[email protected]bb85a8c42013-03-13 04:34:1913class StreamContext;
[email protected]314c3e22012-02-21 03:57:4214class BrowserContext;
[email protected]5fe3713a2012-02-22 08:31:5615class HostZoomMap;
[email protected]5bf1646f52013-01-28 03:57:0216class URLDataManagerBackend;
[email protected]314c3e22012-02-21 03:57:4217
18// Getters for objects that are part of BrowserContext which are also used on
19// the IO thread. These are only accessed by content so they're not on the
20// public API.
[email protected]7dc89352012-09-11 21:41:0121
[email protected]314c3e22012-02-21 03:57:4222ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
23 ResourceContext* resource_context);
[email protected]55c0eca2012-09-15 05:12:3424
[email protected]bb85a8c42013-03-13 04:34:1925StreamContext* GetStreamContextForResourceContext(
26 ResourceContext* resource_context);
27
[email protected]5fe3713a2012-02-22 08:31:5628HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context);
[email protected]314c3e22012-02-21 03:57:4229
[email protected]5bf1646f52013-01-28 03:57:0230URLDataManagerBackend* GetURLDataManagerForResourceContext(
[email protected]33c1c26a2013-01-24 21:56:2631 ResourceContext* context);
32
[email protected]314c3e22012-02-21 03:57:4233// Initialize the above data on the ResourceContext from a given BrowserContext.
[email protected]7e26ac92012-02-27 20:15:0534void InitializeResourceContext(BrowserContext* browser_context);
[email protected]314c3e22012-02-21 03:57:4235
36} // namespace content
37
38#endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_