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

Issue 476293002: Pass through geofencing API calls to the browser process. (Closed)

Created:
6 years, 4 months ago by Marijn Kruisselbrink
Modified:
6 years, 2 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Pass through geofencing API calls to the browser process. BUG=383125 Committed: https://crrev.com/5741bc85329c968d4590ceba67148b1dced8621d Cr-Commit-Position: refs/heads/master@{#297892}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : address comments #

Total comments: 6

Patch Set 5 : address more comments #

Total comments: 2

Patch Set 6 : rebase #

Total comments: 4

Patch Set 7 : nit #

Patch Set 8 : rebase and add region_id sanity check #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+685 lines, -11 lines) Patch
M content/browser/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/geofencing/geofencing_dispatcher_host.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A content/browser/geofencing/geofencing_dispatcher_host.cc View 1 2 3 4 5 6 7 1 chunk +82 lines, -0 lines 2 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -1 line 0 comments Download
M content/child/child_thread.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M content/child/child_thread.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
A content/child/geofencing/geofencing_dispatcher.h View 1 2 3 1 chunk +81 lines, -0 lines 0 comments Download
A content/child/geofencing/geofencing_dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +184 lines, -0 lines 0 comments Download
A + content/child/geofencing/geofencing_message_filter.h View 2 chunks +11 lines, -10 lines 0 comments Download
A content/child/geofencing/geofencing_message_filter.cc View 1 chunk +43 lines, -0 lines 0 comments Download
A content/child/geofencing/web_geofencing_provider_impl.h View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
A content/child/geofencing/web_geofencing_provider_impl.cc View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M content/common/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A content/common/geofencing_messages.h View 1 2 3 4 5 6 1 chunk +61 lines, -0 lines 0 comments Download
A content/common/geofencing_status.h View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
A content/common/geofencing_status.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (7 generated)
Marijn Kruisselbrink
This is the (start of) the content side of implementing geofencing, getting closer to where ...
6 years, 3 months ago (2014-09-05 21:54:31 UTC) #4
jochen (gone - plz use gerrit)
overall looks good. you'll need a security review I'd recommend getting a review from somebody ...
6 years, 3 months ago (2014-09-11 12:47:27 UTC) #5
Marijn Kruisselbrink
https://codereview.chromium.org/476293002/diff/80001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/476293002/diff/80001/content/child/blink_platform_impl.cc#newcode1002 content/child/blink_platform_impl.cc:1002: return web_geofencing_provider_.get(); On 2014/09/11 12:47:27, jochen wrote: > how ...
6 years, 3 months ago (2014-09-11 17:57:52 UTC) #6
Marijn Kruisselbrink
+jln for IPC/security +mvanouwerkerk as somebody that knows the geolocation code
6 years, 3 months ago (2014-09-11 19:16:29 UTC) #8
jochen (gone - plz use gerrit)
https://codereview.chromium.org/476293002/diff/80001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/476293002/diff/80001/content/child/blink_platform_impl.cc#newcode1002 content/child/blink_platform_impl.cc:1002: return web_geofencing_provider_.get(); On 2014/09/11 17:57:52, Marijn Kruisselbrink wrote: > ...
6 years, 3 months ago (2014-09-12 13:52:54 UTC) #9
Michael van Ouwerkerk
https://codereview.chromium.org/476293002/diff/100001/content/child/blink_platform_impl.h File content/child/blink_platform_impl.h (right): https://codereview.chromium.org/476293002/diff/100001/content/child/blink_platform_impl.h#newcode184 content/child/blink_platform_impl.h:184: scoped_ptr<WebGeofencingProviderImpl> web_geofencing_provider_; Nit: no need to prefix the variable ...
6 years, 3 months ago (2014-09-15 13:06:50 UTC) #10
Marijn Kruisselbrink
michael: hopefully addressed your comments jln: can you please take a look at this as ...
6 years, 3 months ago (2014-09-17 00:04:25 UTC) #11
Michael van Ouwerkerk
On 2014/09/17 00:04:25, Marijn Kruisselbrink wrote: > jochen: other than the security OWNERS review, anything ...
6 years, 3 months ago (2014-09-17 10:16:55 UTC) #12
Michael van Ouwerkerk
On 2014/09/17 10:16:55, Michael van Ouwerkerk wrote: > On 2014/09/17 00:04:25, Marijn Kruisselbrink wrote: > ...
6 years, 3 months ago (2014-09-17 10:17:50 UTC) #13
Michael van Ouwerkerk
On 2014/09/17 00:04:25, Marijn Kruisselbrink wrote: > > Why can't this be a CHECK? > ...
6 years, 3 months ago (2014-09-17 10:22:31 UTC) #14
Michael van Ouwerkerk
lgtm
6 years, 3 months ago (2014-09-17 10:22:59 UTC) #15
jochen (gone - plz use gerrit)
https://codereview.chromium.org/476293002/diff/120001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/476293002/diff/120001/content/child/blink_platform_impl.cc#newcode1005 content/child/blink_platform_impl.cc:1005: blink::WebGeofencingProvider* BlinkPlatformImpl::geofencingProvider() { the WebGeofencingProvider only exists on the ...
6 years, 3 months ago (2014-09-17 18:26:45 UTC) #16
Marijn Kruisselbrink
On 2014/09/17 10:16:55, Michael van Ouwerkerk wrote: > If you install Chromite Butler you can ...
6 years, 3 months ago (2014-09-18 16:32:06 UTC) #17
jochen (gone - plz use gerrit)
ok, lgtm
6 years, 3 months ago (2014-09-18 18:39:26 UTC) #18
Marijn Kruisselbrink
+palmer: hopefully you'll have more time for the IPC OWNERS review
6 years, 3 months ago (2014-09-24 17:16:06 UTC) #20
Marijn Kruisselbrink
+wfh: maybe you'll have time for a IPC OWNERS review?
6 years, 2 months ago (2014-09-25 16:34:59 UTC) #22
palmer
https://codereview.chromium.org/476293002/diff/140001/content/common/geofencing_messages.h File content/common/geofencing_messages.h (right): https://codereview.chromium.org/476293002/diff/140001/content/common/geofencing_messages.h#newcode30 content/common/geofencing_messages.h:30: std::string /* region_id */, What is the lexical/syntactic structure ...
6 years, 2 months ago (2014-09-25 19:44:13 UTC) #23
Marijn Kruisselbrink
https://codereview.chromium.org/476293002/diff/140001/content/common/geofencing_messages.h File content/common/geofencing_messages.h (right): https://codereview.chromium.org/476293002/diff/140001/content/common/geofencing_messages.h#newcode30 content/common/geofencing_messages.h:30: std::string /* region_id */, On 2014/09/25 19:44:12, Chromium Palmer ...
6 years, 2 months ago (2014-09-25 19:55:23 UTC) #24
palmer
> Currently these strings are completely unrestricted. It's up to websites to > attach meaning/structure ...
6 years, 2 months ago (2014-09-25 20:17:48 UTC) #25
Marijn Kruisselbrink
On 2014/09/25 20:17:48, Chromium Palmer wrote: > > Currently these strings are completely unrestricted. It's ...
6 years, 2 months ago (2014-09-25 20:28:35 UTC) #26
palmer
It does make sense to do it on the Blink side, but keep in mind ...
6 years, 2 months ago (2014-09-25 20:30:24 UTC) #27
Marijn Kruisselbrink
On 2014/09/25 20:30:24, Chromium Palmer wrote: > It does make sense to do it on ...
6 years, 2 months ago (2014-09-25 20:38:41 UTC) #28
palmer
|> > process can't trust Blink to have done that (in case of compromise). So ...
6 years, 2 months ago (2014-10-02 17:37:26 UTC) #29
Marijn Kruisselbrink
On 2014/10/02 17:37:26, Chromium Palmer wrote: > |> > process can't trust Blink to have ...
6 years, 2 months ago (2014-10-02 18:19:50 UTC) #30
palmer
LGTM. Thanks! And I apologize again for the delay. https://codereview.chromium.org/476293002/diff/180001/content/browser/geofencing/geofencing_dispatcher_host.cc File content/browser/geofencing/geofencing_dispatcher_host.cc (right): https://codereview.chromium.org/476293002/diff/180001/content/browser/geofencing/geofencing_dispatcher_host.cc#newcode13 content/browser/geofencing/geofencing_dispatcher_host.cc:13: ...
6 years, 2 months ago (2014-10-02 18:24:00 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/476293002/180001
6 years, 2 months ago (2014-10-02 19:09:21 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:180001) as 57493bea77b3aff03ff6dc51edfe3214824a06ba
6 years, 2 months ago (2014-10-02 20:38:31 UTC) #34
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 20:39:14 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5741bc85329c968d4590ceba67148b1dced8621d
Cr-Commit-Position: refs/heads/master@{#297892}

Powered by Google App Engine
This is Rietveld 408576698