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

Issue 1771743002: Move geolocation and permission mojoms into WebKit/public/platform. (Closed)

Created:
4 years, 9 months ago by Sam McNally
Modified:
4 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, anandc+watch-blimp_chromium.org, android-webview-reviews_chromium.org, ben+mojo_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chasej+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, dtrainor+watch-blimp_chromium.org, eme-reviews_chromium.org, feature-media-reviews_chromium.org, gunsch+watch_chromium.org, halliwell+watch_chromium.org, harkness+watch_chromium.org, iclelland+watch_chromium.org, jkarlin+watch_chromium.org, jochen+watch_chromium.org, johnme+watch_chromium.org, kmarshall+watch-blimp_chromium.org, lcwu+watch_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, mcasas+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-geolocation_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, mlamouri+watch-notifications_chromium.org, mlamouri+watch-test-runner_chromium.org, mlamouri+watch-permissions_chromium.org, mvanouwerkerk+watch_chromium.org, Michael van Ouwerkerk, nasko+codewatch_chromium.org, nyquist+watch-blimp_chromium.org, Peter Beverloo, posciak+watch_chromium.org, qsr+mojo_chromium.org, sriramsr+watch-blimp_chromium.org, toyoshim+midi_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move geolocation and permission mojoms into WebKit/public/platform. BUG=593607, 596209 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/fcd191dc45a3114ffbe1305b38b27e19b91a32c7 Cr-Commit-Position: refs/heads/master@{#384536}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+440 lines, -515 lines) Patch
M android_webview/browser/aw_permission_manager.h View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M android_webview/browser/aw_permission_manager.cc View 1 2 3 4 8 chunks +14 lines, -14 lines 0 comments Download
M blimp/engine/app/blimp_permission_manager.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M blimp/engine/app/blimp_permission_manager.cc View 1 2 3 4 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/notifications/notification_permission_context_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/permissions/permission_manager.h View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/permissions/permission_manager.cc View 1 2 3 4 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/permissions/permission_manager_unittest.cc View 1 2 3 4 10 chunks +19 lines, -25 lines 0 comments Download
M chrome/browser/permissions/permission_uma_util.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.cc View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M chromecast/browser/cast_permission_manager.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M chromecast/browser/cast_permission_manager.cc View 1 2 3 4 4 chunks +8 lines, -8 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/background_sync/background_sync_manager.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -3 lines 0 comments Download
M content/browser/background_sync/background_sync_manager.cc View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -6 lines 0 comments Download
M content/browser/background_sync/background_sync_manager_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +4 lines, -4 lines 0 comments Download
M content/browser/background_sync/background_sync_service_impl_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/geolocation/geolocation_service_context.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/geolocation/geolocation_service_context.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/geolocation/geolocation_service_impl.h View 1 2 3 4 5 chunks +7 lines, -8 lines 0 comments Download
M content/browser/geolocation/geolocation_service_impl.cc View 1 2 3 4 4 chunks +3 lines, -4 lines 0 comments Download
M content/browser/media/cdm/browser_cdm_manager.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/cdm/browser_cdm_manager.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/permissions/permission_service_context.h View 1 2 3 4 2 chunks +9 lines, -6 lines 0 comments Download
M content/browser/permissions/permission_service_context.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/permissions/permission_service_impl.h View 1 2 3 4 3 chunks +22 lines, -21 lines 0 comments Download
M content/browser/permissions/permission_service_impl.cc View 1 2 3 4 5 6 7 8 12 chunks +41 lines, -38 lines 0 comments Download
M content/browser/push_messaging/push_messaging_message_filter.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M content/child/permissions/permission_dispatcher.h View 1 2 3 4 4 chunks +8 lines, -8 lines 0 comments Download
M content/child/permissions/permission_dispatcher.cc View 1 2 3 4 5 6 7 8 10 chunks +33 lines, -32 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
D content/common/geolocation_service.mojom View 1 2 3 4 1 chunk +0 lines, -20 lines 0 comments Download
D content/common/permission_service.mojom View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -43 lines 0 comments Download
M content/content_common_mojo_bindings.gyp View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M content/public/browser/permission_manager.h View 1 2 3 4 5 chunks +6 lines, -6 lines 0 comments Download
M content/public/common/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
D content/public/common/mojo_geoposition.mojom View 1 2 3 4 1 chunk +0 lines, -56 lines 0 comments Download
D content/public/common/permission_status.mojom View 1 2 3 4 1 chunk +0 lines, -12 lines 0 comments Download
M content/renderer/geolocation_dispatcher.h View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/geolocation_dispatcher.cc View 1 2 3 4 4 chunks +9 lines, -7 lines 0 comments Download
M content/renderer/media/media_permission_dispatcher.h View 1 2 3 4 3 chunks +7 lines, -6 lines 0 comments Download
M content/renderer/media/media_permission_dispatcher.cc View 1 2 3 4 3 chunks +7 lines, -7 lines 0 comments Download
M content/renderer/media/midi_dispatcher.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/media/midi_dispatcher.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/notification_permission_dispatcher.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/notification_permission_dispatcher.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_message_filter.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_message_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -4 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_permission_manager.h View 1 2 3 4 3 chunks +11 lines, -8 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_permission_manager.cc View 1 2 3 4 9 chunks +17 lines, -16 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_push_messaging_service.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M content/shell/browser/shell_permission_manager.h View 1 2 3 4 2 chunks +8 lines, -5 lines 0 comments Download
M content/shell/browser/shell_permission_manager.cc View 1 2 3 4 5 6 7 8 5 chunks +13 lines, -13 lines 0 comments Download
M content/shell/common/layout_test/layout_test_messages.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -5 lines 0 comments Download
M content/test/mock_permission_manager.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -7 lines 0 comments Download
M content/test/mock_permission_manager.cc View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/public/blink.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
A + third_party/WebKit/public/platform/modules/geolocation/OWNERS View 1 2 3 4 5 6 7 1 chunk +6 lines, -2 lines 0 comments Download
A + third_party/WebKit/public/platform/modules/geolocation/geolocation.mojom View 1 2 3 4 2 chunks +18 lines, -7 lines 0 comments Download
M third_party/WebKit/public/platform/modules/permissions/OWNERS View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
A + third_party/WebKit/public/platform/modules/permissions/permission.mojom View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/public/platform/modules/permissions/permission_status.mojom View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 55 (30 generated)
Sam McNally
PTAL at the blink side.
4 years, 9 months ago (2016-03-09 23:58:48 UTC) #7
Michael van Ouwerkerk
geolocation lgtm https://codereview.chromium.org/1771743002/diff/80001/content/browser/geolocation/geolocation_service_context.h File content/browser/geolocation/geolocation_service_context.h (right): https://codereview.chromium.org/1771743002/diff/80001/content/browser/geolocation/geolocation_service_context.h#newcode27 content/browser/geolocation/geolocation_service_context.h:27: mojo::InterfaceRequest<blink::mojom::GeolocationService> request); IWYU: #include "third_party/WebKit/public/platform/modules/geolocation/geolocation.mojom.h"
4 years, 9 months ago (2016-03-10 10:40:53 UTC) #9
mlamouri (slow - plz ping)
https://codereview.chromium.org/1771743002/diff/80001/third_party/WebKit/public/platform/modules/permissions/permission.mojom File third_party/WebKit/public/platform/modules/permissions/permission.mojom (right): https://codereview.chromium.org/1771743002/diff/80001/third_party/WebKit/public/platform/modules/permissions/permission.mojom#newcode12 third_party/WebKit/public/platform/modules/permissions/permission.mojom:12: }; Why did you change from import to included?
4 years, 9 months ago (2016-03-12 06:27:31 UTC) #11
Sam McNally
https://codereview.chromium.org/1771743002/diff/80001/content/browser/geolocation/geolocation_service_context.h File content/browser/geolocation/geolocation_service_context.h (right): https://codereview.chromium.org/1771743002/diff/80001/content/browser/geolocation/geolocation_service_context.h#newcode27 content/browser/geolocation/geolocation_service_context.h:27: mojo::InterfaceRequest<blink::mojom::GeolocationService> request); On 2016/03/10 10:40:53, Michael van Ouwerkerk wrote: ...
4 years, 9 months ago (2016-03-14 02:42:10 UTC) #13
mlamouri (slow - plz ping)
Are we fine to have a type used all over content/ and chrome/ and other ...
4 years, 9 months ago (2016-03-18 14:24:59 UTC) #14
Sam McNally
On 2016/03/18 14:24:59, Mounir Lamouri wrote: > Are we fine to have a type used ...
4 years, 9 months ago (2016-03-19 00:32:17 UTC) #15
mlamouri (slow - plz ping)
I guess my concern is at a higher level than the code you want me ...
4 years, 9 months ago (2016-03-21 14:19:57 UTC) #19
Sam McNally
esprehn: ping
4 years, 9 months ago (2016-03-22 00:38:22 UTC) #20
jochen (gone - plz use gerrit)
I defer to esprehn@ but my take is that it's fine to use a blink ...
4 years, 9 months ago (2016-03-24 14:32:44 UTC) #21
esprehn
From my perspective the permission stuff is a layer below blink, I don't understand why ...
4 years, 8 months ago (2016-03-31 04:50:02 UTC) #24
Sam McNally
+dcheng for the mojoms +jam for pretty much everything else
4 years, 8 months ago (2016-03-31 09:21:09 UTC) #27
jam
On 2016/03/31 04:50:02, esprehn wrote: > From my perspective the permission stuff is a layer ...
4 years, 8 months ago (2016-03-31 18:22:06 UTC) #28
jam
On 2016/03/19 00:32:17, Sam McNally wrote: > On 2016/03/18 14:24:59, Mounir Lamouri wrote: > > ...
4 years, 8 months ago (2016-03-31 18:28:11 UTC) #29
jam
lgtm https://codereview.chromium.org/1771743002/diff/300001/content/browser/permissions/permission_service_impl.cc File content/browser/permissions/permission_service_impl.cc (right): https://codereview.chromium.org/1771743002/diff/300001/content/browser/permissions/permission_service_impl.cc#newcode24 content/browser/permissions/permission_service_impl.cc:24: case PermissionName::GEOLOCATION: (not for this cl) this duplicate ...
4 years, 8 months ago (2016-03-31 19:45:52 UTC) #30
dcheng
mojom lgtm (I didn't really look at anything else)
4 years, 8 months ago (2016-03-31 20:34:32 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771743002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771743002/300001
4 years, 8 months ago (2016-03-31 22:27:42 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_site_isolation on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isolation/builds/1491)
4 years, 8 months ago (2016-03-31 22:35:45 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771743002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771743002/320001
4 years, 8 months ago (2016-04-01 00:19:52 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_site_isolation on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isolation/builds/1494)
4 years, 8 months ago (2016-04-01 00:28:52 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771743002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771743002/340001
4 years, 8 months ago (2016-04-01 00:36:19 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771743002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771743002/340001
4 years, 8 months ago (2016-04-01 04:00:26 UTC) #47
commit-bot: I haz the power
Exceeded global retry quota
4 years, 8 months ago (2016-04-01 06:37:52 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771743002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771743002/340001
4 years, 8 months ago (2016-04-01 08:06:54 UTC) #51
commit-bot: I haz the power
Committed patchset #10 (id:340001)
4 years, 8 months ago (2016-04-01 10:03:15 UTC) #53
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 10:05:00 UTC) #55
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/fcd191dc45a3114ffbe1305b38b27e19b91a32c7
Cr-Commit-Position: refs/heads/master@{#384536}

Powered by Google App Engine
This is Rietveld 408576698