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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 years, 5 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/frame_host/render_frame_host_delegate.cc ('k') | content/browser/geolocation/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index d3d38f90054589d92e86898ae5d7c7eaafa0de48..a7a06306d3ebd895c1f03c8cc160105543cc3f0a 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -35,6 +35,7 @@
#include "content/browser/frame_host/render_frame_host_delegate.h"
#include "content/browser/frame_host/render_frame_proxy_host.h"
#include "content/browser/frame_host/render_widget_host_view_child_frame.h"
+#include "content/browser/geolocation/geolocation_service_context.h"
#include "content/browser/loader/resource_dispatcher_host_impl.h"
#include "content/browser/permissions/permission_service_context.h"
#include "content/browser/permissions/permission_service_impl.h"
@@ -79,7 +80,6 @@
#include "content/public/common/isolated_world_ids.h"
#include "content/public/common/url_constants.h"
#include "content/public/common/url_utils.h"
-#include "device/geolocation/geolocation_service_context.h"
#include "device/vibration/vibration_manager_impl.h"
#include "services/shell/public/cpp/connector.h"
#include "services/shell/public/cpp/interface_provider.h"
@@ -2051,7 +2051,7 @@ void RenderFrameHostImpl::OnHidePopup() {
#endif
void RenderFrameHostImpl::RegisterMojoInterfaces() {
- device::GeolocationServiceContext* geolocation_service_context =
+ GeolocationServiceContext* geolocation_service_context =
delegate_ ? delegate_->GetGeolocationServiceContext() : NULL;
if (geolocation_service_context) {
// TODO(creis): Bind process ID here so that GeolocationServiceImpl
@@ -2064,7 +2064,7 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
// the renderer side. Hence, supply the reference to this object as a weak
// pointer.
GetInterfaceRegistry()->AddInterface(
- base::Bind(&device::GeolocationServiceContext::CreateService,
+ base::Bind(&GeolocationServiceContext::CreateService,
base::Unretained(geolocation_service_context),
base::Bind(&RenderFrameHostImpl::DidUseGeolocationPermission,
weak_ptr_factory_.GetWeakPtr())));
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.cc ('k') | content/browser/geolocation/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698