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

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

Issue 1262613005: Remove interface_impl.h and error_handler.h usage from chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
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 c56399e2a0e09472773cc8ba771a917de4cbedc3..45b37e7fd601c21e3b20c4682b559c7d8d5c284c 100644
--- a/content/browser/geolocation/geolocation_service_impl.h
+++ b/content/browser/geolocation/geolocation_service_impl.h
@@ -7,7 +7,6 @@
#include "content/common/geolocation_service.mojom.h"
#include "content/public/common/mojo_geoposition.mojom.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
-#include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h"
#ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_IMPL_H_
#define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_IMPL_H_
@@ -18,8 +17,7 @@ class GeolocationProvider;
class GeolocationServiceContext;
// Implements the GeolocationService Mojo interface.
-class GeolocationServiceImpl : public GeolocationService,
- public mojo::ErrorHandler {
+class GeolocationServiceImpl : public GeolocationService {
public:
// |context| must outlive this object. |update_callback| will be called when
// location updates are sent, allowing the client to know when the service
@@ -47,8 +45,7 @@ class GeolocationServiceImpl : public GeolocationService,
void SetHighAccuracy(bool high_accuracy) override;
void QueryNextPosition(const PositionCallback& callback) override;
- // mojo::ErrorHandler:
- void OnConnectionError() override;
+ void OnConnectionError();
void OnLocationUpdate(const Geoposition& position);
void ReportCurrentPosition();
« no previous file with comments | « components/resource_provider/resource_provider_app.h ('k') | content/browser/geolocation/geolocation_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698