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

Unified Diff: device/geolocation/geolocation_service_impl.cc

Issue 2201883003: Geolocation: move mojom from WebKit to device/geolocation/public/interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ortuno@s and rockot@s comments, tiny rebase Created 4 years, 4 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 | « device/geolocation/geolocation_service_impl.h ('k') | device/geolocation/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/geolocation_service_impl.cc
diff --git a/device/geolocation/geolocation_service_impl.cc b/device/geolocation/geolocation_service_impl.cc
index 482de43209a84cfb313dda921977c915ccaad957..1df0c035fa1d5ac8a006a64414444fd6dfd38e50 100644
--- a/device/geolocation/geolocation_service_impl.cc
+++ b/device/geolocation/geolocation_service_impl.cc
@@ -76,7 +76,7 @@ GeolocationServiceImpl::~GeolocationServiceImpl() {
// Make sure to respond to any pending callback even without a valid position.
if (!position_callback_.is_null()) {
if (!current_position_.valid) {
- current_position_.error_code = blink::mojom::Geoposition::ErrorCode(
+ current_position_.error_code = mojom::Geoposition::ErrorCode(
GEOPOSITION_ERROR_CODE_POSITION_UNAVAILABLE);
current_position_.error_message = mojo::String("");
}
@@ -175,7 +175,7 @@ void GeolocationServiceImpl::OnLocationUpdate(const Geoposition& position) {
current_position_.speed = position.speed;
current_position_.timestamp = position.timestamp.ToDoubleT();
current_position_.error_code =
- blink::mojom::Geoposition::ErrorCode(position.error_code);
+ mojom::Geoposition::ErrorCode(position.error_code);
current_position_.error_message = position.error_message;
has_position_to_report_ = true;
« no previous file with comments | « device/geolocation/geolocation_service_impl.h ('k') | device/geolocation/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698