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

Unified Diff: content/public/browser/storage_partition.h

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ref counts, improve comments. Created 6 years, 4 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
Index: content/public/browser/storage_partition.h
diff --git a/content/public/browser/storage_partition.h b/content/public/browser/storage_partition.h
index 8e6fc9c5bae9dd84404f1b95f7e58901ca2f8d8f..09f6ca45ba6a6845f689d5961756a13519690b53 100644
--- a/content/public/browser/storage_partition.h
+++ b/content/public/browser/storage_partition.h
@@ -14,6 +14,7 @@
#include "content/common/content_export.h"
class GURL;
+class PrefService;
namespace base {
class Time;
@@ -43,6 +44,7 @@ class BrowserContext;
class IndexedDBContext;
class DOMStorageContext;
class ServiceWorkerContext;
+class HostZoomMap;
// Defines what persistent state a child process can access.
//
@@ -62,6 +64,9 @@ class CONTENT_EXPORT StoragePartition {
virtual DOMStorageContext* GetDOMStorageContext() = 0;
virtual IndexedDBContext* GetIndexedDBContext() = 0;
virtual ServiceWorkerContext* GetServiceWorkerContext() = 0;
+ virtual HostZoomMap* GetHostZoomMap() = 0;
+ // Exposed for tests.
+ virtual PrefService* GetZoomLevelPrefs() = 0;
static const uint32 REMOVE_DATA_MASK_APPCACHE = 1 << 0;
static const uint32 REMOVE_DATA_MASK_COOKIES = 1 << 1;

Powered by Google App Engine
This is Rietveld 408576698