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

Unified Diff: content/renderer/geolocation_dispatcher.h

Issue 1942353002: (reland) Move permission.mojom from WebKit/public/platform/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « content/renderer/BUILD.gn ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/geolocation_dispatcher.h
diff --git a/content/renderer/geolocation_dispatcher.h b/content/renderer/geolocation_dispatcher.h
index 437c5a8c06ae6407f72f1b5fb68e2cc2d2ef0f1c..d2b0032eb1ef9399880a3776aa905653eca516ec 100644
--- a/content/renderer/geolocation_dispatcher.h
+++ b/content/renderer/geolocation_dispatcher.h
@@ -7,9 +7,9 @@
#include <memory>
+#include "components/permissions/permission.mojom.h"
#include "content/public/renderer/render_frame_observer.h"
#include "third_party/WebKit/public/platform/modules/geolocation/geolocation.mojom.h"
-#include "third_party/WebKit/public/platform/modules/permissions/permission.mojom.h"
#include "third_party/WebKit/public/web/WebGeolocationClient.h"
#include "third_party/WebKit/public/web/WebGeolocationController.h"
@@ -50,7 +50,7 @@ class GeolocationDispatcher
// Permission for using geolocation has been set.
void OnPermissionSet(int permission_request_id,
- blink::mojom::PermissionStatus status);
+ permissions::mojom::PermissionStatus status);
std::unique_ptr<blink::WebGeolocationController> controller_;
@@ -58,7 +58,7 @@ class GeolocationDispatcher
pending_permissions_;
blink::mojom::GeolocationServicePtr geolocation_service_;
bool enable_high_accuracy_;
- blink::mojom::PermissionServicePtr permission_service_;
+ permissions::mojom::PermissionServicePtr permission_service_;
};
} // namespace content
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/geolocation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698