Index: content/browser/loader/resource_message_filter.h |
diff --git a/content/browser/loader/resource_message_filter.h b/content/browser/loader/resource_message_filter.h |
index a6f25c091f6e4372c41f6bf2f5455653313c1211..44937a0b8431cf229ee93b47205cf95b0ed8b8eb 100644 |
--- a/content/browser/loader/resource_message_filter.h |
+++ b/content/browser/loader/resource_message_filter.h |
@@ -10,6 +10,7 @@ |
#include "base/callback_forward.h" |
#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
+#include "content/browser/host_zoom_level_context.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/browser_message_filter.h" |
#include "content/public/common/resource_type.h" |
@@ -51,6 +52,7 @@ |
ChromeBlobStorageContext* blob_storage_context, |
storage::FileSystemContext* file_system_context, |
ServiceWorkerContextWrapper* service_worker_context, |
+ HostZoomLevelContext* host_zoom_level_context, |
const GetContextsCallback& get_contexts_callback); |
// BrowserMessageFilter implementation. |
@@ -80,6 +82,10 @@ |
return service_worker_context_.get(); |
} |
+ // Returns a raw pointer to the HostZoomLevelContext's associated HostZoomMap, |
+ // or NULL if no context is present. |
+ const HostZoomMap* GetHostZoomMap() const; |
+ |
int child_id() const { return child_id_; } |
int process_type() const { return process_type_; } |
@@ -99,6 +105,7 @@ |
scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
scoped_refptr<storage::FileSystemContext> file_system_context_; |
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; |
+ scoped_refptr<HostZoomLevelContext> host_zoom_level_context_; |
GetContextsCallback get_contexts_callback_; |