Change next_proto member type.
[chromium-blink-merge.git] / content / browser / resource_context_impl.h
blobd783484d2675fd27c72436cc55cc03376e0c70f8
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.
5 #ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
8 #include "content/public/browser/resource_context.h"
10 namespace content {
12 class ChromeBlobStorageContext;
13 class StreamContext;
14 class BrowserContext;
15 class URLDataManagerBackend;
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.
21 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
22 ResourceContext* resource_context);
24 StreamContext* GetStreamContextForResourceContext(
25 ResourceContext* resource_context);
27 URLDataManagerBackend* GetURLDataManagerForResourceContext(
28 ResourceContext* context);
30 // Initialize the above data on the ResourceContext from a given BrowserContext.
31 void InitializeResourceContext(BrowserContext* browser_context);
33 } // namespace content
35 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_