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

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

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.cc
diff --git a/content/browser/geolocation/geolocation_service_impl.cc b/content/browser/geolocation/geolocation_service_impl.cc
index 6c3a5c8b6b7d4481d4ab1295d49e8c1cd65c6c17..aae95ac01b6bf465564048bee3e7b197d2cc70b8 100644
--- a/content/browser/geolocation/geolocation_service_impl.cc
+++ b/content/browser/geolocation/geolocation_service_impl.cc
@@ -68,7 +68,9 @@ GeolocationServiceImpl::GeolocationServiceImpl(
high_accuracy_(false),
has_position_to_report_(false) {
DCHECK(context_);
- binding_.set_error_handler(this);
+ binding_.set_connection_error_handler(
+ base::Bind(&GeolocationServiceImpl::OnConnectionError,
+ base::Unretained(this)));
}
GeolocationServiceImpl::~GeolocationServiceImpl() {
« no previous file with comments | « content/browser/geolocation/geolocation_service_impl.h ('k') | content/browser/permissions/permission_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698