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

Issue 623823002: Chrome side of passing on the service worker registration with geofencing API calls. (Closed)

Created:
6 years, 2 months ago by Marijn Kruisselbrink
Modified:
6 years, 2 months ago
CC:
chromium-reviews, jsbell+serviceworker_chromium.org, serviceworker-reviews, creis+watch_chromium.org, tzik, nasko+codewatch_chromium.org, jam, nhiroki, mkwst+moarreviews-ipc_chromium.org, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+serviceworker
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Chrome side of passing on the service worker registration with geofencing API calls. BUG=383125 Committed: https://crrev.com/a38764be36077683d9fd7e5190fbae0ce8733d4c Cr-Commit-Position: refs/heads/master@{#301010}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 18

Patch Set 4 : address comments #

Total comments: 8

Patch Set 5 : address more comments #

Patch Set 6 : rebase on top of refactored GeofencingManager #

Total comments: 4

Patch Set 7 : nits #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -40 lines) Patch
M content/browser/geofencing/geofencing_dispatcher_host.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -3 lines 0 comments Download
M content/browser/geofencing/geofencing_dispatcher_host.cc View 1 2 3 4 5 4 chunks +17 lines, -11 lines 0 comments Download
M content/browser/geofencing/geofencing_manager.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/geofencing/geofencing_manager.cc View 1 2 3 4 5 6 7 8 chunks +44 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_registration_handle.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/child/geofencing/geofencing_dispatcher.h View 1 2 3 4 5 6 7 1 chunk +12 lines, -6 lines 0 comments Download
M content/child/geofencing/geofencing_dispatcher.cc View 1 2 3 4 5 6 2 chunks +40 lines, -6 lines 0 comments Download
M content/child/geofencing/web_geofencing_provider_impl.h View 1 2 3 1 chunk +10 lines, -5 lines 0 comments Download
M content/child/geofencing/web_geofencing_provider_impl.cc View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M content/child/service_worker/service_worker_registration_handle_reference.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/geofencing_messages.h View 1 2 3 1 chunk +9 lines, -6 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
jsbell
just a few drive-by nits https://codereview.chromium.org/623823002/diff/40001/content/browser/geofencing/geofencing_dispatcher_host.cc File content/browser/geofencing/geofencing_dispatcher_host.cc (right): https://codereview.chromium.org/623823002/diff/40001/content/browser/geofencing/geofencing_dispatcher_host.cc#newcode122 content/browser/geofencing/geofencing_dispatcher_host.cc:122: service_worker ? service_worker->id() : ...
6 years, 2 months ago (2014-10-08 18:41:30 UTC) #2
Michael van Ouwerkerk
Adding michaeln as reviewer, he was very helpful when I did the push integration. https://codereview.chromium.org/623823002/diff/40001/content/browser/geofencing/geofencing_dispatcher_host.cc ...
6 years, 2 months ago (2014-10-09 12:28:10 UTC) #4
Marijn Kruisselbrink
(note that I didn't actually send this CL out for review yet, since I hadn't ...
6 years, 2 months ago (2014-10-09 22:28:59 UTC) #5
michaeln1
I was just looking at what we did for push messaging, that's done somewhat differently. ...
6 years, 2 months ago (2014-10-09 23:28:06 UTC) #6
michaeln
ah, i see the other cls too, those will probably answer some of my stupid ...
6 years, 2 months ago (2014-10-09 23:33:24 UTC) #7
Marijn Kruisselbrink
On 2014/10/09 23:28:06, michaeln1 wrote: > I was just looking at what we did for ...
6 years, 2 months ago (2014-10-09 23:40:10 UTC) #8
Marijn Kruisselbrink
(also see the unanswered mail to chrome-serviceworker@ I sent last week)
6 years, 2 months ago (2014-10-09 23:42:49 UTC) #9
michaeln
https://codereview.chromium.org/623823002/diff/40001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/623823002/diff/40001/content/browser/renderer_host/render_process_host_impl.cc#newcode897 content/browser/renderer_host/render_process_host_impl.cc:897: new GeofencingDispatcherHost(browser_context_, service_worker_filter)); On 2014/10/09 22:28:59, Marijn Kruisselbrink wrote: ...
6 years, 2 months ago (2014-10-13 00:32:49 UTC) #10
Marijn Kruisselbrink
https://codereview.chromium.org/623823002/diff/40001/content/browser/geofencing/geofencing_dispatcher_host.cc File content/browser/geofencing/geofencing_dispatcher_host.cc (right): https://codereview.chromium.org/623823002/diff/40001/content/browser/geofencing/geofencing_dispatcher_host.cc#newcode59 content/browser/geofencing/geofencing_dispatcher_host.cc:59: ServiceWorkerRegistration* service_worker = On 2014/10/09 12:28:09, Michael van Ouwerkerk ...
6 years, 2 months ago (2014-10-13 19:29:49 UTC) #12
michaeln
lgtm, thnx https://codereview.chromium.org/623823002/diff/250001/content/browser/geofencing/geofencing_dispatcher_host.cc File content/browser/geofencing/geofencing_dispatcher_host.cc (right): https://codereview.chromium.org/623823002/diff/250001/content/browser/geofencing/geofencing_dispatcher_host.cc#newcode71 content/browser/geofencing/geofencing_dispatcher_host.cc:71: service_worker_registration don't need to check for null ...
6 years, 2 months ago (2014-10-14 01:03:52 UTC) #13
Michael van Ouwerkerk
lgtm much better!
6 years, 2 months ago (2014-10-14 13:06:46 UTC) #14
Marijn Kruisselbrink
+avi for content/browser/renderer_host/render_process_host_impl.cc OWNERS +palmer for IPC changes https://codereview.chromium.org/623823002/diff/250001/content/browser/geofencing/geofencing_dispatcher_host.cc File content/browser/geofencing/geofencing_dispatcher_host.cc (right): https://codereview.chromium.org/623823002/diff/250001/content/browser/geofencing/geofencing_dispatcher_host.cc#newcode71 content/browser/geofencing/geofencing_dispatcher_host.cc:71: service_worker_registration ...
6 years, 2 months ago (2014-10-14 18:51:23 UTC) #16
Marijn Kruisselbrink
I rebased this on top of https://codereview.chromium.org/645763003. It means I'll have to wait with landing ...
6 years, 2 months ago (2014-10-15 23:44:09 UTC) #18
palmer
https://codereview.chromium.org/623823002/diff/370001/content/browser/geofencing/geofencing_dispatcher_host.h File content/browser/geofencing/geofencing_dispatcher_host.h (right): https://codereview.chromium.org/623823002/diff/370001/content/browser/geofencing/geofencing_dispatcher_host.h#newcode37 content/browser/geofencing/geofencing_dispatcher_host.h:37: const std::string& region_id, What is the lexical/syntactic structure of ...
6 years, 2 months ago (2014-10-16 01:22:34 UTC) #19
Marijn Kruisselbrink
https://codereview.chromium.org/623823002/diff/370001/content/browser/geofencing/geofencing_dispatcher_host.h File content/browser/geofencing/geofencing_dispatcher_host.h (right): https://codereview.chromium.org/623823002/diff/370001/content/browser/geofencing/geofencing_dispatcher_host.h#newcode37 content/browser/geofencing/geofencing_dispatcher_host.h:37: const std::string& region_id, On 2014/10/16 01:22:34, Chromium Palmer wrote: ...
6 years, 2 months ago (2014-10-16 17:00:19 UTC) #20
palmer
Ahh yes. LGTM.
6 years, 2 months ago (2014-10-16 22:55:36 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/623823002/410001
6 years, 2 months ago (2014-10-23 23:39:27 UTC) #23
commit-bot: I haz the power
Committed patchset #8 (id:410001)
6 years, 2 months ago (2014-10-24 01:00:58 UTC) #24
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 01:01:46 UTC) #25
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/a38764be36077683d9fd7e5190fbae0ce8733d4c
Cr-Commit-Position: refs/heads/master@{#301010}

Powered by Google App Engine
This is Rietveld 408576698