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

Unified Diff: chrome/renderer/geolocation_dispatcher.cc

Issue 6127001: Geolocation code cleanup following switch to client-based Geolocation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 9 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 | « chrome/common/render_messages_internal.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/geolocation_dispatcher.cc
diff --git a/chrome/renderer/geolocation_dispatcher.cc b/chrome/renderer/geolocation_dispatcher.cc
index daf0856893cd3ad5e209a30f22dade3a43181956..e944673f7fe01874ba8893dba5b82e6c47ec8c45 100644
--- a/chrome/renderer/geolocation_dispatcher.cc
+++ b/chrome/renderer/geolocation_dispatcher.cc
@@ -42,19 +42,15 @@ void GeolocationDispatcher::geolocationDestroyed() {
}
void GeolocationDispatcher::startUpdating() {
- // TODO(jknotten): Remove url and bridge_id from StartUpdating message
- // once we have switched over to client-based geolocation.
GURL url;
render_view_->Send(new ViewHostMsg_Geolocation_StartUpdating(
- render_view_->routing_id(), -1, url, enable_high_accuracy_));
+ render_view_->routing_id(), url, enable_high_accuracy_));
updating_ = true;
}
void GeolocationDispatcher::stopUpdating() {
- // TODO(jknotten): Remove url and bridge_id from StopUpdating message
- // once we have switched over to client-based geolocation.
render_view_->Send(new ViewHostMsg_Geolocation_StopUpdating(
- render_view_->routing_id(), -1));
+ render_view_->routing_id()));
updating_ = false;
}
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698