blob: 903cc543a24201395a5f6374f41d7d713527b611 [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
horod5560432014-12-12 06:20:138#include "content/common/content_export.h"
[email protected]314c3e22012-02-21 03:57:429#include "content/public/browser/resource_context.h"
10
[email protected]314c3e22012-02-21 03:57:4211namespace content {
12
[email protected]c2ab4202012-10-24 22:54:4613class ChromeBlobStorageContext;
[email protected]bb85a8c42013-03-13 04:34:1914class StreamContext;
[email protected]314c3e22012-02-21 03:57:4215class BrowserContext;
[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(
horod5560432014-12-12 06:20:1323 const ResourceContext* resource_context);
[email protected]55c0eca2012-09-15 05:12:3424
horod5560432014-12-12 06:20:1325CONTENT_EXPORT StreamContext* GetStreamContextForResourceContext(
26 const ResourceContext* resource_context);
[email protected]bb85a8c42013-03-13 04:34:1927
[email protected]5bf1646f52013-01-28 03:57:0228URLDataManagerBackend* GetURLDataManagerForResourceContext(
[email protected]33c1c26a2013-01-24 21:56:2629 ResourceContext* context);
30
[email protected]314c3e22012-02-21 03:57:4231// Initialize the above data on the ResourceContext from a given BrowserContext.
horod5560432014-12-12 06:20:1332CONTENT_EXPORT void InitializeResourceContext(BrowserContext* browser_context);
[email protected]314c3e22012-02-21 03:57:4233
34} // namespace content
35
36#endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_