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

Issue 623813002: Blink side of exposing the service worker registration associated with geofencing API calls. (Closed)

Created:
6 years, 2 months ago by Marijn Kruisselbrink
Modified:
6 years, 2 months ago
CC:
blink-reviews, dglazkov+blink, falken, horo+watch_chromium.org, jamesr, jsbell+serviceworker_chromium.org, kinuko+serviceworker, michaeln, mkwst+moarreviews_chromium.org, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Blink side of exposing the service worker registration associated with geofencing API calls. This still leaves the old codepaths for the geofencing API in place, those will be cleaned up in a followup CL. BUG=383125 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183931

Patch Set 1 #

Patch Set 2 : add test #

Total comments: 23

Patch Set 3 : address comments #

Total comments: 18

Patch Set 4 : address more comments #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : remove NavigatorGeofencing #

Total comments: 8

Patch Set 7 : fix indentation in tests #

Patch Set 8 : hopefully correctly fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -161 lines) Patch
D LayoutTests/geofencing/geofencing-not-implemented.html View 1 2 3 4 5 1 chunk +0 lines, -38 lines 0 comments Download
A LayoutTests/http/tests/geofencing/apis_not_implemented.html View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/geofencing/resources/emptyworker.js View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/modules/geofencing/Geofencing.h View 1 2 3 4 1 chunk +7 lines, -4 lines 0 comments Download
M Source/modules/geofencing/Geofencing.cpp View 1 2 3 5 chunks +29 lines, -7 lines 0 comments Download
D Source/modules/geofencing/NavigatorGeofencing.h View 1 2 3 4 5 1 chunk +0 lines, -39 lines 0 comments Download
M Source/modules/geofencing/NavigatorGeofencing.cpp View 1 2 3 4 5 1 chunk +0 lines, -54 lines 0 comments Download
D Source/modules/geofencing/NavigatorGeofencing.idl View 1 2 3 4 5 1 chunk +0 lines, -9 lines 0 comments Download
A Source/modules/geofencing/ServiceWorkerRegistrationGeofencing.h View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A Source/modules/geofencing/ServiceWorkerRegistrationGeofencing.cpp View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A + Source/modules/geofencing/ServiceWorkerRegistrationGeofencing.idl View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/geofencing/WorkerNavigatorGeofencing.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/geofencing/WorkerNavigatorGeofencing.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/geofencing/WorkerNavigatorGeofencing.idl View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M public/platform/WebGeofencingProvider.h View 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (7 generated)
Marijn Kruisselbrink
Even though most of the code changes are not directly in modules/serviceworkers/, a serviceworkers OWNERS ...
6 years, 2 months ago (2014-10-06 20:55:43 UTC) #2
jsbell
Sorry about the delay - OOO then swamped. I think michaeln or falken should do ...
6 years, 2 months ago (2014-10-08 18:51:57 UTC) #3
Marijn Kruisselbrink
On 2014/10/08 18:51:57, jsbell wrote: > Sorry about the delay - OOO then swamped. no ...
6 years, 2 months ago (2014-10-08 23:00:32 UTC) #5
jsbell
https://codereview.chromium.org/623813002/diff/20001/LayoutTests/http/tests/geofencing/apis_not_implemented.html File LayoutTests/http/tests/geofencing/apis_not_implemented.html (right): https://codereview.chromium.org/623813002/diff/20001/LayoutTests/http/tests/geofencing/apis_not_implemented.html#newcode31 LayoutTests/http/tests/geofencing/apis_not_implemented.html:31: .catch(function() { }); On 2014/10/08 23:00:32, Marijn Kruisselbrink wrote: ...
6 years, 2 months ago (2014-10-08 23:13:54 UTC) #6
Michael van Ouwerkerk
https://codereview.chromium.org/623813002/diff/40001/Source/modules/geofencing/Geofencing.cpp File Source/modules/geofencing/Geofencing.cpp (right): https://codereview.chromium.org/623813002/diff/40001/Source/modules/geofencing/Geofencing.cpp#newcode65 Source/modules/geofencing/Geofencing.cpp:65: WebServiceWorkerRegistration* serviceworker = nullptr; Here and below, probably clearer ...
6 years, 2 months ago (2014-10-09 10:56:28 UTC) #8
Marijn Kruisselbrink
https://codereview.chromium.org/623813002/diff/40001/Source/modules/geofencing/Geofencing.cpp File Source/modules/geofencing/Geofencing.cpp (right): https://codereview.chromium.org/623813002/diff/40001/Source/modules/geofencing/Geofencing.cpp#newcode65 Source/modules/geofencing/Geofencing.cpp:65: WebServiceWorkerRegistration* serviceworker = nullptr; On 2014/10/09 10:56:27, Michael van ...
6 years, 2 months ago (2014-10-09 18:10:54 UTC) #9
michaeln
https://codereview.chromium.org/623813002/diff/40001/Source/modules/geofencing/NavigatorGeofencing.cpp File Source/modules/geofencing/NavigatorGeofencing.cpp (right): https://codereview.chromium.org/623813002/diff/40001/Source/modules/geofencing/NavigatorGeofencing.cpp#newcode13 Source/modules/geofencing/NavigatorGeofencing.cpp:13: NavigatorGeofencing::NavigatorGeofencing() On 2014/10/09 18:10:54, Marijn Kruisselbrink wrote: > On ...
6 years, 2 months ago (2014-10-12 23:51:02 UTC) #10
Marijn Kruisselbrink
https://codereview.chromium.org/623813002/diff/40001/Source/modules/geofencing/NavigatorGeofencing.cpp File Source/modules/geofencing/NavigatorGeofencing.cpp (right): https://codereview.chromium.org/623813002/diff/40001/Source/modules/geofencing/NavigatorGeofencing.cpp#newcode13 Source/modules/geofencing/NavigatorGeofencing.cpp:13: NavigatorGeofencing::NavigatorGeofencing() On 2014/10/12 23:51:02, michaeln wrote: > On 2014/10/09 ...
6 years, 2 months ago (2014-10-13 19:09:59 UTC) #11
michaeln
lgtm, but somebody more blink savvy should say so too https://codereview.chromium.org/623813002/diff/340001/LayoutTests/http/tests/geofencing/apis_not_implemented.html File LayoutTests/http/tests/geofencing/apis_not_implemented.html (right): https://codereview.chromium.org/623813002/diff/340001/LayoutTests/http/tests/geofencing/apis_not_implemented.html#newcode37 ...
6 years, 2 months ago (2014-10-14 01:16:16 UTC) #12
jsbell
lgtm as well https://codereview.chromium.org/623813002/diff/340001/LayoutTests/http/tests/geofencing/apis_not_implemented.html File LayoutTests/http/tests/geofencing/apis_not_implemented.html (right): https://codereview.chromium.org/623813002/diff/340001/LayoutTests/http/tests/geofencing/apis_not_implemented.html#newcode27 LayoutTests/http/tests/geofencing/apis_not_implemented.html:27: return r.geofencing.unregisterRegion(''); nit: 2 more spaces. ...
6 years, 2 months ago (2014-10-14 17:19:23 UTC) #13
Marijn Kruisselbrink
+japhet for at least Source/platform and public/platform OWNERS https://codereview.chromium.org/623813002/diff/340001/LayoutTests/http/tests/geofencing/apis_not_implemented.html File LayoutTests/http/tests/geofencing/apis_not_implemented.html (right): https://codereview.chromium.org/623813002/diff/340001/LayoutTests/http/tests/geofencing/apis_not_implemented.html#newcode27 LayoutTests/http/tests/geofencing/apis_not_implemented.html:27: return ...
6 years, 2 months ago (2014-10-14 18:21:08 UTC) #15
Nate Chapin
public/platform LGTM, I don't have Source/platform/OWNERS though
6 years, 2 months ago (2014-10-15 21:07:44 UTC) #16
Marijn Kruisselbrink
+esprehn: can you OWNERS approve the Source/platform/RuntimeEnabledFeatures.in change?
6 years, 2 months ago (2014-10-15 22:16:09 UTC) #18
esprehn
lgtm, I'll admit that having properties on the registration related to every feature in the ...
6 years, 2 months ago (2014-10-17 20:42:37 UTC) #19
Marijn Kruisselbrink
On 2014/10/17 20:42:37, esprehn wrote: > lgtm, I'll admit that having properties on the registration ...
6 years, 2 months ago (2014-10-17 20:55:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/623813002/510001
6 years, 2 months ago (2014-10-17 20:56:34 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/623813002/530001
6 years, 2 months ago (2014-10-17 22:00:00 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:530001) as 183931
6 years, 2 months ago (2014-10-17 22:31:17 UTC) #25
Michael van Ouwerkerk
6 years, 2 months ago (2014-10-20 17:37:03 UTC) #26
Message was sent while issue was closed.
belated lgtm :-)

Powered by Google App Engine
This is Rietveld 408576698