Remove old didStartLoading/didStopLoading overrides on RenderViewImpl.
[chromium-blink-merge.git] / content / browser / resource_context_impl.h
blobed4de4de4a3a67068b5db058071b370b9240d1c1
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 HostZoomMap;
16 class URLDataManagerBackend;
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.
22 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
23 ResourceContext* resource_context);
25 StreamContext* GetStreamContextForResourceContext(
26 ResourceContext* resource_context);
28 HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context);
30 URLDataManagerBackend* GetURLDataManagerForResourceContext(
31 ResourceContext* context);
33 // Initialize the above data on the ResourceContext from a given BrowserContext.
34 void InitializeResourceContext(BrowserContext* browser_context);
36 } // namespace content
38 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_