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

Unified Diff: content/browser/loader/resource_message_filter.cc

Issue 1964273002: Add FrameHost mojo service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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/browser/loader/resource_message_filter.cc
diff --git a/content/browser/loader/resource_message_filter.cc b/content/browser/loader/resource_message_filter.cc
index 3d62f2b362a520fdea2af44a1c4b14c0b9fd12d1..416dc37faabb6024100b7b30ca09394f63c965df 100644
--- a/content/browser/loader/resource_message_filter.cc
+++ b/content/browser/loader/resource_message_filter.cc
@@ -6,7 +6,6 @@
#include "content/browser/appcache/chrome_appcache_service.h"
#include "content/browser/blob_storage/chrome_blob_storage_context.h"
-#include "content/browser/host_zoom_level_context.h"
#include "content/browser/loader/resource_dispatcher_host_impl.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/common/resource_messages.h"
@@ -22,7 +21,6 @@ ResourceMessageFilter::ResourceMessageFilter(
ChromeBlobStorageContext* blob_storage_context,
storage::FileSystemContext* file_system_context,
ServiceWorkerContextWrapper* service_worker_context,
- HostZoomLevelContext* host_zoom_level_context,
const GetContextsCallback& get_contexts_callback)
: BrowserMessageFilter(ResourceMsgStart),
child_id_(child_id),
@@ -31,7 +29,6 @@ ResourceMessageFilter::ResourceMessageFilter(
blob_storage_context_(blob_storage_context),
file_system_context_(file_system_context),
service_worker_context_(service_worker_context),
- host_zoom_level_context_(host_zoom_level_context),
get_contexts_callback_(get_contexts_callback),
weak_ptr_factory_(this) {
}
@@ -58,12 +55,6 @@ void ResourceMessageFilter::GetContexts(
request_context);
}
-const HostZoomMap* ResourceMessageFilter::GetHostZoomMap() const {
- if (host_zoom_level_context_.get())
- return host_zoom_level_context_->GetHostZoomMap();
- return NULL;
-}
-
base::WeakPtr<ResourceMessageFilter> ResourceMessageFilter::GetWeakPtr() {
return weak_ptr_factory_.GetWeakPtr();
}
« no previous file with comments | « content/browser/loader/resource_message_filter.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698