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

Unified Diff: chrome/browser/renderer_host/resource_message_filter.cc

Issue 5612005: Client-based geolocation support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GeolocationDispatcherHost rename and inhert from BrowserMessageFilter. Created 10 years 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: chrome/browser/renderer_host/resource_message_filter.cc
diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc
index a745d91fc3fbe8722a843e968f56f1d1033b4280..a1019352d130f38ce64b5158b9a2019766826a1f 100644
--- a/chrome/browser/renderer_host/resource_message_filter.cc
+++ b/chrome/browser/renderer_host/resource_message_filter.cc
@@ -23,8 +23,6 @@
#include "chrome/browser/download/download_types.h"
#include "chrome/browser/extensions/extension_message_service.h"
#include "chrome/browser/file_system/file_system_dispatcher_host.h"
-#include "chrome/browser/geolocation/geolocation_dispatcher_host_old.h"
-#include "chrome/browser/geolocation/geolocation_permission_context.h"
#include "chrome/browser/gpu_process_host.h"
#include "chrome/browser/host_zoom_map.h"
#include "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h"
@@ -270,9 +268,6 @@ ResourceMessageFilter::ResourceMessageFilter(
render_widget_helper, &RenderWidgetHelper::GetNextRoutingID)),
ALLOW_THIS_IN_INITIALIZER_LIST(speech_input_dispatcher_host_(
new speech_input::SpeechInputDispatcherHost(this->id()))),
- ALLOW_THIS_IN_INITIALIZER_LIST(geolocation_dispatcher_host_(
- GeolocationDispatcherHostOld::New(
- this->id(), profile->GetGeolocationPermissionContext()))),
ALLOW_THIS_IN_INITIALIZER_LIST(
search_provider_install_state_dispatcher_host_(
new SearchProviderInstallStateDispatcherHost(this, profile,
@@ -388,7 +383,6 @@ bool ResourceMessageFilter::OnMessageReceived(const IPC::Message& msg) {
db_dispatcher_host_->OnMessageReceived(msg, &msg_is_ok) ||
mp_dispatcher->OnMessageReceived(
msg, this, next_route_id_callback(), &msg_is_ok) ||
- geolocation_dispatcher_host_->OnMessageReceived(msg, &msg_is_ok) ||
speech_input_dispatcher_host_->OnMessageReceived(msg, &msg_is_ok) ||
search_provider_install_state_dispatcher_host_->OnMessageReceived(
msg, &msg_is_ok) ||

Powered by Google App Engine
This is Rietveld 408576698