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

Issue 781723002: Pass navigator.connect calls through to the browser process. (Closed)

Created:
6 years ago by Marijn Kruisselbrink
Modified:
6 years ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, serviceworker-reviews, creis+watch_chromium.org, tzik, nasko+codewatch_chromium.org, jam, nhiroki, 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

Pass navigator.connect calls through to the browser process. Depends on blink side change in https://codereview.chromium.org/782463002/ and on the blink side change in https://codereview.chromium.org/799703003/ BUG=426458 Committed: https://crrev.com/6ef5c59d66a61a1f5002b3fa2d5dda0ecd41886b Cr-Commit-Position: refs/heads/master@{#308247}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : fix definition order #

Patch Set 4 : fix minor style thing #

Total comments: 3

Patch Set 5 : make calls from workers work #

Patch Set 6 : include origin in connect call #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+469 lines, -5 lines) Patch
A + content/browser/navigator_connect/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A content/browser/navigator_connect/navigator_connect_dispatcher_host.h View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A content/browser/navigator_connect/navigator_connect_dispatcher_host.cc View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M content/child/child_thread.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/child/child_thread.cc View 3 chunks +4 lines, -0 lines 0 comments Download
A + content/child/navigator_connect/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/child/navigator_connect/navigator_connect_dispatcher.h View 1 3 chunks +9 lines, -7 lines 0 comments Download
A content/child/navigator_connect/navigator_connect_dispatcher.cc View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A content/child/navigator_connect/navigator_connect_provider.h View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
A content/child/navigator_connect/navigator_connect_provider.cc View 1 2 3 4 5 1 chunk +143 lines, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 chunk +1 line, -0 lines 0 comments Download
A content/common/navigator_connect_messages.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A content/common/navigator_connect_types.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A content/common/navigator_connect_types.cc View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
Marijn Kruisselbrink
It seems a bit overkill to have a NavigatorConnectDispatcher, NavigatorConnectDispatcherHost, navigator_connect_messages.h etc for what is ...
6 years ago (2014-12-04 14:08:36 UTC) #3
scheib
Generally looks reasonable, though yes this is more code and complexity than should be required. ...
6 years ago (2014-12-05 05:49:50 UTC) #4
Marijn Kruisselbrink
https://codereview.chromium.org/781723002/diff/20001/content/browser/navigator_connect/navigator_connect_dispatcher_host.h File content/browser/navigator_connect/navigator_connect_dispatcher_host.h (right): https://codereview.chromium.org/781723002/diff/20001/content/browser/navigator_connect/navigator_connect_dispatcher_host.h#newcode14 content/browser/navigator_connect/navigator_connect_dispatcher_host.h:14: class NavigatorConnectDispatcherHost : public BrowserMessageFilter { On 2014/12/05 05:49:50, ...
6 years ago (2014-12-05 14:25:50 UTC) #5
scheib
lgtm https://codereview.chromium.org/781723002/diff/40001/content/child/navigator_connect/navigator_connect_provider.cc File content/child/navigator_connect/navigator_connect_provider.cc (right): https://codereview.chromium.org/781723002/diff/40001/content/child/navigator_connect/navigator_connect_provider.cc#newcode80 content/child/navigator_connect/navigator_connect_provider.cc:80: NavigatorConnectProvider* NavigatorConnectProvider::ThreadSpecificInstance( Keep definitions matching the declaration order.
6 years ago (2014-12-05 18:59:35 UTC) #6
Marijn Kruisselbrink
https://codereview.chromium.org/781723002/diff/40001/content/child/navigator_connect/navigator_connect_provider.cc File content/child/navigator_connect/navigator_connect_provider.cc (right): https://codereview.chromium.org/781723002/diff/40001/content/child/navigator_connect/navigator_connect_provider.cc#newcode80 content/child/navigator_connect/navigator_connect_provider.cc:80: NavigatorConnectProvider* NavigatorConnectProvider::ThreadSpecificInstance( On 2014/12/05 18:59:35, scheib wrote: > Keep ...
6 years ago (2014-12-09 23:23:31 UTC) #7
Marijn Kruisselbrink
+avi for content/ OWNERS +palmer for IPC OWNERS
6 years ago (2014-12-09 23:24:59 UTC) #9
Avi (use Gerrit)
lgtm stampity stamp https://codereview.chromium.org/781723002/diff/80001/content/browser/navigator_connect/OWNERS File content/browser/navigator_connect/OWNERS (right): https://codereview.chromium.org/781723002/diff/80001/content/browser/navigator_connect/OWNERS#newcode1 content/browser/navigator_connect/OWNERS:1: mek@chromium.org Can you get a secondary ...
6 years ago (2014-12-10 00:17:32 UTC) #10
palmer
https://codereview.chromium.org/781723002/diff/80001/content/browser/navigator_connect/navigator_connect_dispatcher_host.cc File content/browser/navigator_connect/navigator_connect_dispatcher_host.cc (right): https://codereview.chromium.org/781723002/diff/80001/content/browser/navigator_connect/navigator_connect_dispatcher_host.cc#newcode33 content/browser/navigator_connect/navigator_connect_dispatcher_host.cc:33: // TODO(mek): Actually setup a connection. Should there be ...
6 years ago (2014-12-10 01:40:45 UTC) #11
Marijn Kruisselbrink
https://codereview.chromium.org/781723002/diff/80001/content/browser/navigator_connect/navigator_connect_dispatcher_host.cc File content/browser/navigator_connect/navigator_connect_dispatcher_host.cc (right): https://codereview.chromium.org/781723002/diff/80001/content/browser/navigator_connect/navigator_connect_dispatcher_host.cc#newcode33 content/browser/navigator_connect/navigator_connect_dispatcher_host.cc:33: // TODO(mek): Actually setup a connection. On 2014/12/10 01:40:44, ...
6 years ago (2014-12-10 17:14:26 UTC) #12
chromium-reviews
I wrote a brilliant comment, but it was eaten. Sigh. :( In fact Rietveld seems ...
6 years ago (2014-12-11 22:08:31 UTC) #13
palmer
I wrote a brilliant comment, but it was eaten. Sigh. :( Basically, we should definitely ...
6 years ago (2014-12-11 22:08:57 UTC) #14
Marijn Kruisselbrink
On 2014/12/11 22:08:57, Chromium Palmer wrote: > I wrote a brilliant comment, but it was ...
6 years ago (2014-12-12 00:06:25 UTC) #15
palmer
LGTM. Thanks!
6 years ago (2014-12-13 01:52:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/781723002/120001
6 years ago (2014-12-13 02:15:27 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/103960) android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/41753) android_arm64_dbg_recipe ...
6 years ago (2014-12-13 02:20:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/781723002/140001
6 years ago (2014-12-13 02:30:04 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:140001)
6 years ago (2014-12-13 04:02:43 UTC) #23
commit-bot: I haz the power
6 years ago (2014-12-13 04:03:29 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6ef5c59d66a61a1f5002b3fa2d5dda0ecd41886b
Cr-Commit-Position: refs/heads/master@{#308247}

Powered by Google App Engine
This is Rietveld 408576698