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

Unified Diff: third_party/WebKit/Source/modules/geolocation/Geolocation.h

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
Index: third_party/WebKit/Source/modules/geolocation/Geolocation.h
diff --git a/third_party/WebKit/Source/modules/geolocation/Geolocation.h b/third_party/WebKit/Source/modules/geolocation/Geolocation.h
index f2883bc3a7b3846d682c3a38f696c6b0013df9d5..6aad45dc7775cbcdc3f01fdc9160d5f034603af7 100644
--- a/third_party/WebKit/Source/modules/geolocation/Geolocation.h
+++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.h
@@ -30,6 +30,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/ContextLifecycleObserver.h"
#include "core/page/PageVisibilityObserver.h"
+#include "device/geolocation/public/interfaces/geolocation.mojom-blink.h"
#include "modules/ModulesExport.h"
#include "modules/geolocation/GeoNotifier.h"
#include "modules/geolocation/GeolocationWatchers.h"
@@ -40,7 +41,7 @@
#include "modules/geolocation/PositionOptions.h"
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
-#include "third_party/WebKit/public/platform/modules/geolocation/geolocation.mojom-blink.h"
+
#include "third_party/WebKit/public/platform/modules/permissions/permission.mojom-blink.h"
#include "third_party/WebKit/public/platform/modules/permissions/permission_status.mojom-blink.h"
@@ -164,7 +165,7 @@ private:
// See https://goo.gl/Y0ZkNV
void recordOriginTypeAccess() const;
- void onPositionUpdated(mojom::blink::GeopositionPtr);
+ void onPositionUpdated(device::mojom::blink::GeopositionPtr);
// Processes the notifiers that were waiting for a permission decision. If
// granted then the notifier's timers are started. Otherwise, a fatal error
@@ -190,7 +191,7 @@ private:
};
Permission m_geolocationPermission;
- mojom::blink::GeolocationServicePtr m_geolocationService;
+ device::mojom::blink::GeolocationServicePtr m_geolocationService;
bool m_enableHighAccuracy = false;
mojom::blink::PermissionServicePtr m_permissionService;
« no previous file with comments | « third_party/WebKit/Source/modules/geolocation/DEPS ('k') | third_party/WebKit/Source/modules/geolocation/Geolocation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698