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

Issue 2158913006: Move BroadcastChannel browser code from components/ to content/browser. (Closed)

Created:
4 years, 5 months ago by jam
Modified:
4 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, droger+watchlist_chromium.org, jam, nasko+codewatch_chromium.org, qsr+mojo_chromium.org, sdefresne+watchlist_chromium.org, viettrungluu+watch_chromium.org, wjmaclean, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move BroadcastChannel browser code from components/ to content/browser. It's only used by content/browser, so it can stay there. Also update URL related typemaps so that they can be used by mojoms in Blink. This is copied from https://codereview.chromium.org/2043753002/. BUG=161070 Committed: https://crrev.com/ad9b0483a8ad19740e2438052b9b88077ab966e0 Cr-Commit-Position: refs/heads/master@{#406852}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -370 lines) Patch
M components/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
M components/components.gyp View 1 chunk +0 lines, -1 line 0 comments Download
D components/webmessaging.gypi View 1 chunk +0 lines, -71 lines 0 comments Download
D components/webmessaging/BUILD.gn View 1 chunk +0 lines, -17 lines 0 comments Download
D components/webmessaging/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D components/webmessaging/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D components/webmessaging/broadcast_channel_provider.h View 1 chunk +0 lines, -46 lines 0 comments Download
D components/webmessaging/broadcast_channel_provider.cc View 1 chunk +0 lines, -115 lines 0 comments Download
D components/webmessaging/public/interfaces/BUILD.gn View 1 chunk +0 lines, -16 lines 0 comments Download
D components/webmessaging/public/interfaces/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D components/webmessaging/public/interfaces/broadcast_channel.mojom View 1 chunk +0 lines, -34 lines 0 comments Download
M content/browser/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/DEPS View 2 chunks +1 line, -1 line 0 comments Download
A + content/browser/broadcast_channel/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/browser/broadcast_channel/broadcast_channel_provider.h View 2 chunks +13 lines, -11 lines 0 comments Download
A + content/browser/broadcast_channel/broadcast_channel_provider.cc View 6 chunks +16 lines, -16 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/storage_partition_impl.h View 4 chunks +4 lines, -6 lines 0 comments Download
M content/browser/storage_partition_impl.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h View 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/mojo/KURL.typemap View 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mojo/SecurityOrigin.typemap View 1 chunk +8 lines, -3 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/blink.gyp View 3 chunks +5 lines, -1 line 0 comments Download
A + third_party/WebKit/public/platform/modules/broadcastchannel/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/public/platform/modules/broadcastchannel/broadcast_channel.mojom View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (11 generated)
jam
nasko: security owner for the mojom move jochen: the rest
4 years, 5 months ago (2016-07-21 00:28:55 UTC) #5
nasko
Mojom move and content/ LGTM.
4 years, 5 months ago (2016-07-21 00:42:04 UTC) #6
haraken
WebKit/Source LGTM
4 years, 5 months ago (2016-07-21 08:20:32 UTC) #9
jochen (gone - plz use gerrit)
lgtm
4 years, 5 months ago (2016-07-21 08:30:34 UTC) #11
blundell
Thanks for making this change, John!
4 years, 5 months ago (2016-07-21 08:40:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2158913006/1
4 years, 5 months ago (2016-07-21 15:15:34 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-21 15:19:50 UTC) #17
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/ad9b0483a8ad19740e2438052b9b88077ab966e0 Cr-Commit-Position: refs/heads/master@{#406852}
4 years, 5 months ago (2016-07-21 15:21:26 UTC) #19
Peter Kasting
I *think* this started causing the following warnings in my local MSVC build (but I ...
4 years, 4 months ago (2016-07-27 02:45:07 UTC) #20
ncarter (slow)
4 years, 4 months ago (2016-07-27 18:29:05 UTC) #21
Message was sent while issue was closed.
On 2016/07/27 02:45:07, Peter Kasting wrote:
> I *think* this started causing the following warnings in my local MSVC build
> (but I didn't back the change out to test; it just looked like the most likely
> culprit).  Are you aware of this?  Can you look into it?  Would you like me to
> file a bug?
> 
> 1>broadcast_channel.mojom-blink.obj : warning LNK4217: locally defined symbol
> ?deref@?$RefCounted@VSecurityOrigin@blink@@@WTF@@QEBAXXZ (public: void __cdecl
> WTF::RefCounted<class blink::SecurityOrigin>::deref(void)const ) imported in
> function "void __cdecl WTF::derefIfNotNull<class blink::SecurityOrigin>(class
> blink::SecurityOrigin *)"
>
(??$derefIfNotNull@VSecurityOrigin@blink@@@WTF@@YAXPEAVSecurityOrigin@blink@@@Z)
> 1>
> 1>broadcast_channel.mojom-blink.obj : warning LNK4217: locally defined symbol
>
?createUnique@SecurityOrigin@blink@@SA?AV?$PassRefPtr@VSecurityOrigin@blink@@@WTF@@XZ
> (public: static class WTF::PassRefPtr<class blink::SecurityOrigin> __cdecl
> blink::SecurityOrigin::createUnique(void)) imported in function "public:
static
> bool __cdecl mojo::StructTraits<class url::mojom::blink::Origin,class
> WTF::RefPtr<class blink::SecurityOrigin> >::Read(class
> url::mojom::blink::OriginDataView,class WTF::RefPtr<class
blink::SecurityOrigin>
> *)"
>
(?Read@?$StructTraits@VOrigin@blink@mojom@url@@V?$RefPtr@VSecurityOrigin@blink@@@WTF@@@mojo@@SA_NVOriginDataView@blink@mojom@url@@PEAV?$RefPtr@VSecurityOrigin@blink@@@WTF@@@Z)
> 1>
> 1>broadcast_channel.mojom-blink.obj : warning LNK4217: locally defined symbol
>
?create@SecurityOrigin@blink@@SA?AV?$PassRefPtr@VSecurityOrigin@blink@@@WTF@@AEBVString@4@0H@Z
> (public: static class WTF::PassRefPtr<class blink::SecurityOrigin> __cdecl
> blink::SecurityOrigin::create(class WTF::String const &,class WTF::String
const
> &,int)) imported in function "public: static bool __cdecl
> mojo::StructTraits<class url::mojom::blink::Origin,class WTF::RefPtr<class
> blink::SecurityOrigin> >::Read(class url::mojom::blink::OriginDataView,class
> WTF::RefPtr<class blink::SecurityOrigin> *)"
>
(?Read@?$StructTraits@VOrigin@blink@mojom@url@@V?$RefPtr@VSecurityOrigin@blink@@@WTF@@@mojo@@SA_NVOriginDataView@blink@mojom@url@@PEAV?$RefPtr@VSecurityOrigin@blink@@@WTF@@@Z)
> 1>
> 1>broadcast_channel.mojom-blink.obj : warning LNK4217: locally defined symbol
> ?protocol@SecurityOrigin@blink@@QEBA?AVString@WTF@@XZ (public: class
WTF::String
> __cdecl blink::SecurityOrigin::protocol(void)const ) imported in function
> "public: static class WTF::String __cdecl mojo::StructTraits<class
> url::mojom::blink::Origin,class WTF::RefPtr<class blink::SecurityOrigin>
> >::scheme(class WTF::RefPtr<class blink::SecurityOrigin> const &)"
>
(?scheme@?$StructTraits@VOrigin@blink@mojom@url@@V?$RefPtr@VSecurityOrigin@blink@@@WTF@@@mojo@@SA?AVString@WTF@@AEBV?$RefPtr@VSecurityOrigin@blink@@@4@@Z)
> 1>
> 1>broadcast_channel.mojom-blink.obj : warning LNK4217: locally defined symbol
> ?host@SecurityOrigin@blink@@QEBA?AVString@WTF@@XZ (public: class WTF::String
> __cdecl blink::SecurityOrigin::host(void)const ) imported in function "public:
> static class WTF::String __cdecl mojo::StructTraits<class
> url::mojom::blink::Origin,class WTF::RefPtr<class blink::SecurityOrigin>
> >::host(class WTF::RefPtr<class blink::SecurityOrigin> const &)"
>
(?host@?$StructTraits@VOrigin@blink@mojom@url@@V?$RefPtr@VSecurityOrigin@blink@@@WTF@@@mojo@@SA?AVString@WTF@@AEBV?$RefPtr@VSecurityOrigin@blink@@@4@@Z)
> 1>
> 1>broadcast_channel.mojom-blink.obj : warning LNK4217: locally defined symbol
> ?effectivePort@SecurityOrigin@blink@@QEBAGXZ (public: unsigned short __cdecl
> blink::SecurityOrigin::effectivePort(void)const ) imported in function
"public:
> static unsigned short __cdecl mojo::StructTraits<class
> url::mojom::blink::Origin,class WTF::RefPtr<class blink::SecurityOrigin>
> >::port(class WTF::RefPtr<class blink::SecurityOrigin> const &)"
>
(?port@?$StructTraits@VOrigin@blink@mojom@url@@V?$RefPtr@VSecurityOrigin@blink@@@WTF@@@mojo@@SAGAEBV?$RefPtr@VSecurityOrigin@blink@@@WTF@@@Z)
> 1>
> 1>broadcast_channel.mojom-blink.obj : warning LNK4217: locally defined symbol
> ?isUnique@SecurityOrigin@blink@@QEBA_NXZ (public: bool __cdecl
> blink::SecurityOrigin::isUnique(void)const ) imported in function "public:
> static bool __cdecl mojo::StructTraits<class url::mojom::blink::Origin,class
> WTF::RefPtr<class blink::SecurityOrigin> >::Read(class
> url::mojom::blink::OriginDataView,class WTF::RefPtr<class
blink::SecurityOrigin>
> *)"
>
(?Read@?$StructTraits@VOrigin@blink@mojom@url@@V?$RefPtr@VSecurityOrigin@blink@@@WTF@@@mojo@@SA_NVOriginDataView@blink@mojom@url@@PEAV?$RefPtr@VSecurityOrigin@blink@@@WTF@@@Z)
> 1>

peter: I see that too, and just filed crbug.com/632082

Powered by Google App Engine
This is Rietveld 408576698