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

Unified Diff: content/renderer/geolocation_dispatcher.h

Issue 841133002: Stop using [Client=...] feature of Mojom for GeolocationService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improve comments Created 5 years, 11 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/common/geolocation_service.mojom ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/geolocation_dispatcher.h
diff --git a/content/renderer/geolocation_dispatcher.h b/content/renderer/geolocation_dispatcher.h
index 8d48d588817edcc961bbc2ecd0b382abc33fab04..391e65d105d264a9d96ab27f620163c545ef6965 100644
--- a/content/renderer/geolocation_dispatcher.h
+++ b/content/renderer/geolocation_dispatcher.h
@@ -27,8 +27,7 @@ struct Geoposition;
// It's the complement of GeolocationDispatcherHost.
class GeolocationDispatcher
: public RenderFrameObserver,
- public blink::WebGeolocationClient,
- public mojo::InterfaceImpl<GeolocationServiceClient> {
+ public blink::WebGeolocationClient {
public:
explicit GeolocationDispatcher(RenderFrame* render_frame);
virtual ~GeolocationDispatcher();
@@ -45,8 +44,8 @@ class GeolocationDispatcher
virtual void cancelPermissionRequest(
const blink::WebGeolocationPermissionRequest& permissionRequest);
- // GeolocationServiceClient
- void OnLocationUpdate(MojoGeopositionPtr geoposition) override;
+ void QueryNextPosition();
+ void OnPositionUpdate(MojoGeopositionPtr geoposition);
// Permission for using geolocation has been set.
void OnPermissionSet(int permission_request_id, PermissionStatus status);
« no previous file with comments | « content/common/geolocation_service.mojom ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698