Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: content/browser/resource_context_impl.h

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments; patch for landing. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 6 #define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
7 7
8 #include "content/public/browser/resource_context.h" 8 #include "content/public/browser/resource_context.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class ChromeBlobStorageContext; 12 class ChromeBlobStorageContext;
13 class StreamContext; 13 class StreamContext;
14 class BrowserContext; 14 class BrowserContext;
15 class HostZoomMap;
16 class URLDataManagerBackend; 15 class URLDataManagerBackend;
17 16
18 // Getters for objects that are part of BrowserContext which are also used on 17 // 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 18 // the IO thread. These are only accessed by content so they're not on the
20 // public API. 19 // public API.
21 20
22 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext( 21 ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
23 ResourceContext* resource_context); 22 ResourceContext* resource_context);
24 23
25 StreamContext* GetStreamContextForResourceContext( 24 StreamContext* GetStreamContextForResourceContext(
26 ResourceContext* resource_context); 25 ResourceContext* resource_context);
27 26
28 HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context);
29
30 URLDataManagerBackend* GetURLDataManagerForResourceContext( 27 URLDataManagerBackend* GetURLDataManagerForResourceContext(
31 ResourceContext* context); 28 ResourceContext* context);
32 29
33 // Initialize the above data on the ResourceContext from a given BrowserContext. 30 // Initialize the above data on the ResourceContext from a given BrowserContext.
34 void InitializeResourceContext(BrowserContext* browser_context); 31 void InitializeResourceContext(BrowserContext* browser_context);
35 32
36 } // namespace content 33 } // namespace content
37 34
38 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_ 35 #endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/resource_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698