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

Issue 629393002: Chromium side of geofencing event dispatching. (Closed)

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

Description

Chromium side of geofencing event dispatching. BUG=383125 Committed: https://crrev.com/1c397381ff0444275cbc932eb750c86888f5669c Cr-Commit-Position: refs/heads/master@{#301965}

Patch Set 1 #

Total comments: 6

Patch Set 2 : nits #

Patch Set 3 : rebase #

Total comments: 3

Patch Set 4 : add todos #

Total comments: 8

Patch Set 5 : rebase after manager refactor #

Patch Set 6 : rebase on top of other CL #

Patch Set 7 : rebase #

Total comments: 4

Patch Set 8 : rebase #

Patch Set 9 : address comments #

Total comments: 5

Patch Set 10 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -7 lines) Patch
M content/browser/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/geofencing/geofencing_manager.h View 1 2 3 4 5 6 7 8 9 5 chunks +30 lines, -0 lines 0 comments Download
M content/browser/geofencing/geofencing_manager.cc View 1 2 3 4 5 6 7 8 5 chunks +83 lines, -1 line 0 comments Download
M content/browser/geofencing/geofencing_registration_delegate.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/geofencing/geofencing_service_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 3 4 5 6 6 chunks +24 lines, -6 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 3 4 5 6 7 8 4 chunks +58 lines, -0 lines 0 comments Download
M content/common/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 3 4 5 6 4 chunks +12 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.h View 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (8 generated)
dominicc (has gone to gerrit)
DBCs inline. https://codereview.chromium.org/629393002/diff/1/content/browser/service_worker/service_worker_version.h File content/browser/service_worker/service_worker_version.h (right): https://codereview.chromium.org/629393002/diff/1/content/browser/service_worker/service_worker_version.h#newcode205 content/browser/service_worker/service_worker_version.h:205: // Sends geofencing event to the associated ...
6 years, 2 months ago (2014-10-07 01:52:05 UTC) #2
Michael van Ouwerkerk
I'd recommend adding michaeln as a reviewer. You are in the same time zone, right? ...
6 years, 2 months ago (2014-10-08 16:42:01 UTC) #4
Marijn Kruisselbrink
+michaeln: can you take a look at this CL? https://codereview.chromium.org/629393002/diff/1/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/1/content/browser/geofencing/geofencing_manager.cc#newcode27 content/browser/geofencing/geofencing_manager.cc:27: ...
6 years, 2 months ago (2014-10-09 22:56:56 UTC) #6
michaeln
https://codereview.chromium.org/629393002/diff/70001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/70001/content/browser/geofencing/geofencing_manager.cc#newcode28 content/browser/geofencing/geofencing_manager.cc:28: StoragePartition* partition = BrowserContext::GetStoragePartitionForSite( I'm not sure if this ...
6 years, 2 months ago (2014-10-13 00:22:32 UTC) #7
Marijn Kruisselbrink
https://codereview.chromium.org/629393002/diff/70001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/70001/content/browser/geofencing/geofencing_manager.cc#newcode28 content/browser/geofencing/geofencing_manager.cc:28: StoragePartition* partition = BrowserContext::GetStoragePartitionForSite( On 2014/10/13 00:22:32, michaeln wrote: ...
6 years, 2 months ago (2014-10-13 21:21:52 UTC) #8
michaeln
looks great except for picking the partition which confounds me? https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc#newcode28 ...
6 years, 2 months ago (2014-10-14 02:20:41 UTC) #9
Marijn Kruisselbrink
https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc#newcode28 content/browser/geofencing/geofencing_manager.cc:28: StoragePartition* partition = BrowserContext::GetStoragePartitionForSite( On 2014/10/14 02:20:40, michaeln wrote: ...
6 years, 2 months ago (2014-10-14 19:16:56 UTC) #10
falken
https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc#newcode65 content/browser/geofencing/geofencing_manager.cc:65: service_worker_registration->active_version()->DispatchGeofencingEvent( On 2014/10/14 19:16:55, Marijn Kruisselbrink wrote: > On ...
6 years, 2 months ago (2014-10-15 01:59:34 UTC) #12
Marijn Kruisselbrink
https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc#newcode28 content/browser/geofencing/geofencing_manager.cc:28: StoragePartition* partition = BrowserContext::GetStoragePartitionForSite( On 2014/10/14 19:16:55, Marijn Kruisselbrink ...
6 years, 2 months ago (2014-10-15 23:55:15 UTC) #13
falken
https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/240001/content/browser/geofencing/geofencing_manager.cc#newcode65 content/browser/geofencing/geofencing_manager.cc:65: service_worker_registration->active_version()->DispatchGeofencingEvent( On 2014/10/15 23:55:15, Marijn Kruisselbrink wrote: > On ...
6 years, 2 months ago (2014-10-16 05:18:18 UTC) #14
Marijn Kruisselbrink
michael/michael: All the dependencies for this CL have landed now, so could you please take ...
6 years, 2 months ago (2014-10-24 16:14:39 UTC) #15
falken
lgtm This looks like it dispatches events to the Service Worker a lot like how ...
6 years, 1 month ago (2014-10-27 04:56:38 UTC) #16
Michael van Ouwerkerk
lgtm with nits https://codereview.chromium.org/629393002/diff/310001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/310001/content/browser/geofencing/geofencing_manager.cc#newcode311 content/browser/geofencing/geofencing_manager.cc:311: return; I think you'll want to ...
6 years, 1 month ago (2014-10-27 15:57:41 UTC) #17
Marijn Kruisselbrink
On 2014/10/27 04:56:38, falken wrote: > lgtm > > This looks like it dispatches events ...
6 years, 1 month ago (2014-10-27 18:28:37 UTC) #18
Marijn Kruisselbrink
https://codereview.chromium.org/629393002/diff/310001/content/browser/geofencing/geofencing_manager.cc File content/browser/geofencing/geofencing_manager.cc (right): https://codereview.chromium.org/629393002/diff/310001/content/browser/geofencing/geofencing_manager.cc#newcode311 content/browser/geofencing/geofencing_manager.cc:311: return; On 2014/10/27 15:57:40, Michael van Ouwerkerk wrote: > ...
6 years, 1 month ago (2014-10-27 18:29:10 UTC) #19
Marijn Kruisselbrink
+dcheng for content/common/service_worker/service_worker_messages.h and WebKit/public (DEPS target path) OWNERS +avi for content/*/DEPS OWNERS
6 years, 1 month ago (2014-10-27 18:34:56 UTC) #22
dcheng
Sorry, I'm really busy with blinkon stuff this week. If this is urgent, you may ...
6 years, 1 month ago (2014-10-27 18:36:21 UTC) #23
Marijn Kruisselbrink
On 2014/10/27 18:36:21, dcheng wrote: > Sorry, I'm really busy with blinkon stuff this week. ...
6 years, 1 month ago (2014-10-27 18:41:22 UTC) #25
Avi (use Gerrit)
On 2014/10/27 18:41:22, Marijn Kruisselbrink wrote: > On 2014/10/27 18:36:21, dcheng wrote: > > Sorry, ...
6 years, 1 month ago (2014-10-27 20:03:35 UTC) #26
michaeln
lgtm 2
6 years, 1 month ago (2014-10-27 21:54:21 UTC) #27
palmer
https://codereview.chromium.org/629393002/diff/370001/content/browser/geofencing/geofencing_manager.h File content/browser/geofencing/geofencing_manager.h (right): https://codereview.chromium.org/629393002/diff/370001/content/browser/geofencing/geofencing_manager.h#newcode152 content/browser/geofencing/geofencing_manager.h:152: // Called when delivering of a geofence event to ...
6 years, 1 month ago (2014-10-27 22:27:37 UTC) #28
michaeln
https://codereview.chromium.org/629393002/diff/370001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/629393002/diff/370001/content/browser/service_worker/service_worker_version.cc#newcode382 content/browser/service_worker/service_worker_version.cc:382: DCHECK_EQ(ACTIVATED, status()) << status(); On 2014/10/27 22:27:37, Chromium Palmer ...
6 years, 1 month ago (2014-10-28 00:02:59 UTC) #29
Marijn Kruisselbrink
palmer/japhet: PTAL https://codereview.chromium.org/629393002/diff/370001/content/browser/geofencing/geofencing_manager.h File content/browser/geofencing/geofencing_manager.h (right): https://codereview.chromium.org/629393002/diff/370001/content/browser/geofencing/geofencing_manager.h#newcode152 content/browser/geofencing/geofencing_manager.h:152: // Called when delivering of a geofence ...
6 years, 1 month ago (2014-10-29 17:31:29 UTC) #30
palmer
> content/browser/service_worker/service_worker_version.cc:382: > DCHECK_EQ(ACTIVATED, status()) << status(); > On 2014/10/27 22:27:37, Chromium Palmer wrote: > ...
6 years, 1 month ago (2014-10-29 20:48:09 UTC) #31
Marijn Kruisselbrink
On 2014/10/29 20:48:09, Chromium Palmer wrote: > > content/browser/service_worker/service_worker_version.cc:382: > > DCHECK_EQ(ACTIVATED, status()) << status(); ...
6 years, 1 month ago (2014-10-29 20:53:55 UTC) #32
palmer
OK. LGTM.
6 years, 1 month ago (2014-10-29 20:58:52 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/629393002/380001
6 years, 1 month ago (2014-10-29 21:29:52 UTC) #35
Nate Chapin
DEPS changes LGTM
6 years, 1 month ago (2014-10-29 21:36:07 UTC) #36
commit-bot: I haz the power
Committed patchset #10 (id:380001)
6 years, 1 month ago (2014-10-29 23:02:12 UTC) #37
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 23:03:09 UTC) #38
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/1c397381ff0444275cbc932eb750c86888f5669c
Cr-Commit-Position: refs/heads/master@{#301965}

Powered by Google App Engine
This is Rietveld 408576698