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

Unified Diff: content/browser/resource_context_impl.h

Issue 9416070: Move creation and ownership of HostZoomMap to content instead of having every embedder do this. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac/cros browsertests Created 8 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/resource_context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resource_context_impl.h
===================================================================
--- content/browser/resource_context_impl.h (revision 122827)
+++ content/browser/resource_context_impl.h (working copy)
@@ -17,6 +17,7 @@
namespace content {
class BrowserContext;
+class HostZoomMap;
// Getters for objects that are part of BrowserContext which are also used on
// the IO thread. These are only accessed by content so they're not on the
@@ -27,6 +28,7 @@
ResourceContext* resource_context);
ChromeBlobStorageContext* GetChromeBlobStorageContextForResourceContext(
ResourceContext* resource_context);
+HostZoomMap* GetHostZoomMapForResourceContext(ResourceContext* context);
// Initialize the above data on the ResourceContext from a given BrowserContext.
void InitializeResourceContext(BrowserContext* browser_context);
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/resource_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698