Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(10)

Issue 1192913003: Start implementing new navigator.connect API (Closed)

Created:
4 years, 10 months ago by Marijn Kruisselbrink
Modified:
4 years, 10 months ago
Reviewers:
haraken, scheib, chrishtr, tkent
CC:
blink-reviews, bsittler, chasej
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Start implementing new navigator.connect API. As it turns out, we changed our mind about the desired API yet again, and this time rather completely. This is the start of implementing the currently specced API, which hopefully will actually stick. This CL adds stubs for the new ServicePortCollection API. BUG=426458 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197697

Patch Set 1 : #

Total comments: 10

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : override instead of virtual #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -14 lines) Patch
M LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-and-gced-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 2 chunks +12 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 2 chunks +12 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 2 chunks +12 lines, -0 lines 0 comments Download
M Source/modules/EventTargetModulesFactory.in View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gypi View 5 chunks +15 lines, -0 lines 0 comments Download
A Source/modules/navigatorconnect/NavigatorServices.h View 1 chunk +38 lines, -0 lines 0 comments Download
A Source/modules/navigatorconnect/NavigatorServices.cpp View 1 1 chunk +54 lines, -0 lines 0 comments Download
A + Source/modules/navigatorconnect/NavigatorServices.idl View 1 chunk +4 lines, -4 lines 0 comments Download
A Source/modules/navigatorconnect/ServicePortCollection.h View 1 2 1 chunk +51 lines, -0 lines 1 comment Download
A Source/modules/navigatorconnect/ServicePortCollection.cpp View 1 1 chunk +59 lines, -0 lines 0 comments Download
A Source/modules/navigatorconnect/ServicePortCollection.idl View 1 1 chunk +18 lines, -0 lines 1 comment Download
A + Source/modules/navigatorconnect/ServicePortConnectOptions.idl View 1 chunk +3 lines, -3 lines 0 comments Download
A + Source/modules/navigatorconnect/ServicePortMatchOptions.idl View 1 chunk +3 lines, -3 lines 0 comments Download
A Source/modules/navigatorconnect/WorkerNavigatorServices.h View 1 chunk +38 lines, -0 lines 0 comments Download
A Source/modules/navigatorconnect/WorkerNavigatorServices.cpp View 1 1 chunk +54 lines, -0 lines 0 comments Download
A + Source/modules/navigatorconnect/WorkerNavigatorServices.idl View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
Marijn Kruisselbrink
4 years, 10 months ago (2015-06-22 17:47:10 UTC) #4
scheib
https://codereview.chromium.org/1192913003/diff/40001/Source/modules/navigatorconnect/NavigatorServices.cpp File Source/modules/navigatorconnect/NavigatorServices.cpp (right): https://codereview.chromium.org/1192913003/diff/40001/Source/modules/navigatorconnect/NavigatorServices.cpp#newcode13 Source/modules/navigatorconnect/NavigatorServices.cpp:13: NavigatorServices::NavigatorServices() Method definitions in the corresponding .cc file should ...
4 years, 10 months ago (2015-06-23 03:57:21 UTC) #5
Marijn Kruisselbrink
https://codereview.chromium.org/1192913003/diff/40001/Source/modules/navigatorconnect/NavigatorServices.cpp File Source/modules/navigatorconnect/NavigatorServices.cpp (right): https://codereview.chromium.org/1192913003/diff/40001/Source/modules/navigatorconnect/NavigatorServices.cpp#newcode13 Source/modules/navigatorconnect/NavigatorServices.cpp:13: NavigatorServices::NavigatorServices() On 2015/06/23 at 03:57:21, scheib wrote: > Method ...
4 years, 10 months ago (2015-06-23 04:11:05 UTC) #6
scheib
LGTM
4 years, 10 months ago (2015-06-23 04:57:02 UTC) #7
Marijn Kruisselbrink
+chrishtr for Source/modules/EventTargetModulesFactory.in OWNERS (although I'm not entirely sure why that file requires top-level blink ...
4 years, 10 months ago (2015-06-23 16:45:52 UTC) #9
chrishtr
+tkent, haraken to check that this is using best practices for modules, I'm not an ...
4 years, 10 months ago (2015-06-23 16:54:54 UTC) #11
tkent
lgtm https://codereview.chromium.org/1192913003/diff/60001/Source/modules/navigatorconnect/ServicePortCollection.h File Source/modules/navigatorconnect/ServicePortCollection.h (right): https://codereview.chromium.org/1192913003/diff/60001/Source/modules/navigatorconnect/ServicePortCollection.h#newcode29 Source/modules/navigatorconnect/ServicePortCollection.h:29: virtual ~ServicePortCollection(); nit: remove |virtual|, and add |override|.
4 years, 10 months ago (2015-06-23 23:54:49 UTC) #12
tkent
On 2015/06/23 16:45:52, Marijn Kruisselbrink wrote: > +chrishtr for Source/modules/EventTargetModulesFactory.in OWNERS (although I'm > not ...
4 years, 10 months ago (2015-06-23 23:56:00 UTC) #13
Marijn Kruisselbrink
On 2015/06/23 at 23:56:00, tkent wrote: > On 2015/06/23 16:45:52, Marijn Kruisselbrink wrote: > > ...
4 years, 10 months ago (2015-06-24 00:26:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192913003/80001
4 years, 10 months ago (2015-06-24 00:31:38 UTC) #17
haraken
LGTM https://codereview.chromium.org/1192913003/diff/80001/Source/modules/navigatorconnect/ServicePortCollection.h File Source/modules/navigatorconnect/ServicePortCollection.h (right): https://codereview.chromium.org/1192913003/diff/80001/Source/modules/navigatorconnect/ServicePortCollection.h#newcode19 Source/modules/navigatorconnect/ServicePortCollection.h:19: class MODULES_EXPORT ServicePortCollection final Nit: We can move ...
4 years, 10 months ago (2015-06-24 01:18:46 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2015-06-24 04:11:56 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197697

Powered by Google App Engine
This is Rietveld 408576698