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

Unified Diff: content/browser/geolocation/geolocation_service_impl.h

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/geolocation/geolocation_service_impl.h
diff --git a/content/browser/geolocation/geolocation_service_impl.h b/content/browser/geolocation/geolocation_service_impl.h
index df37f8822176ee806044e4f27044c8daabe43b0a..9265db3bd72751102ef8973526a781e7f224d767 100644
--- a/content/browser/geolocation/geolocation_service_impl.h
+++ b/content/browser/geolocation/geolocation_service_impl.h
@@ -41,11 +41,9 @@ class GeolocationServiceImpl : public blink::mojom::GeolocationService {
void ClearOverride();
private:
- typedef mojo::Callback<void(blink::mojom::GeopositionPtr)> PositionCallback;
-
// blink::mojom::GeolocationService:
void SetHighAccuracy(bool high_accuracy) override;
- void QueryNextPosition(const PositionCallback& callback) override;
+ void QueryNextPosition(const QueryNextPositionCallback& callback) override;
void OnConnectionError();
@@ -64,7 +62,7 @@ class GeolocationServiceImpl : public blink::mojom::GeolocationService {
base::Closure update_callback_;
// The callback passed to QueryNextPosition.
- PositionCallback position_callback_;
+ QueryNextPositionCallback position_callback_;
// Valid iff SetOverride() has been called and ClearOverride() has not
// subsequently been called.

Powered by Google App Engine
This is Rietveld 408576698