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

Issue 183893041: Move sockets APIs out of src/chrome (Closed)

Created:
6 years, 9 months ago by Ken Rockot(use gerrit already)
Modified:
6 years, 9 months ago
Reviewers:
James Cook, Yoyo Zhou
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Move sockets APIs out of src/chrome This moves sockets APIs out of src/chrome and into src/extensions. The IDLs and function implementations are moved, and the groundwork is set for moving additional APIs. The API tests remain in src/chrome, and several references to src/chrome still remain for permissions/features/manifest stuff. BUG=349787 TBR=erg@chromium.org for profiles change TBR=jar@chromium.org for +net to //extensions/browser/DEPS Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256456

Patch Set 1 #

Total comments: 7

Patch Set 2 : little things #

Total comments: 2

Patch Set 3 : rebase; register core_api in ChromeExtBrCli #

Patch Set 4 : update DEPS #

Patch Set 5 : rebase #

Patch Set 6 : rename api targets #

Unified diffs Side-by-side diffs Delta from patch set Stats (+532 lines, -6974 lines) Patch
M apps/apps.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M apps/shell/browser/shell_extensions_browser_client.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M apps/shell/common/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M apps/shell/common/shell_extensions_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M apps/shell/common/shell_extensions_client.cc View 2 chunks +19 lines, -0 lines 0 comments Download
D chrome/browser/extensions/api/socket/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/extensions/api/socket/socket.h View 1 2 1 chunk +0 lines, -126 lines 0 comments Download
D chrome/browser/extensions/api/socket/socket.cc View 1 2 1 chunk +0 lines, -152 lines 0 comments Download
D chrome/browser/extensions/api/socket/socket_api.h View 1 2 1 chunk +0 lines, -506 lines 0 comments Download
D chrome/browser/extensions/api/socket/socket_api.cc View 1 chunk +0 lines, -906 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_api_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_apitest.cc View 2 chunks +1 line, -1 line 0 comments Download
D chrome/browser/extensions/api/socket/tcp_socket.h View 1 chunk +0 lines, -179 lines 0 comments Download
D chrome/browser/extensions/api/socket/tcp_socket.cc View 1 2 1 chunk +0 lines, -329 lines 0 comments Download
M chrome/browser/extensions/api/socket/tcp_socket_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/extensions/api/socket/udp_socket.h View 1 chunk +0 lines, -121 lines 0 comments Download
D chrome/browser/extensions/api/socket/udp_socket.cc View 1 2 1 chunk +0 lines, -296 lines 0 comments Download
M chrome/browser/extensions/api/socket/udp_socket_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/extensions/api/sockets_tcp/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.h View 1 chunk +0 lines, -245 lines 0 comments Download
D chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.cc View 1 chunk +0 lines, -444 lines 0 comments Download
M chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api_unittest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
D chrome/browser/extensions/api/sockets_tcp/tcp_socket_event_dispatcher.h View 1 2 1 chunk +0 lines, -94 lines 0 comments Download
D chrome/browser/extensions/api/sockets_tcp/tcp_socket_event_dispatcher.cc View 1 chunk +0 lines, -197 lines 0 comments Download
D chrome/browser/extensions/api/sockets_tcp_server/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_api.h View 1 chunk +0 lines, -179 lines 0 comments Download
D chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_api.cc View 1 chunk +0 lines, -300 lines 0 comments Download
M chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_api_unittest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h View 1 2 1 chunk +0 lines, -100 lines 0 comments Download
D chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc View 1 chunk +0 lines, -196 lines 0 comments Download
D chrome/browser/extensions/api/sockets_udp/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/extensions/api/sockets_udp/sockets_udp_api.h View 1 chunk +0 lines, -280 lines 0 comments Download
D chrome/browser/extensions/api/sockets_udp/sockets_udp_api.cc View 1 chunk +0 lines, -505 lines 0 comments Download
M chrome/browser/extensions/api/sockets_udp/sockets_udp_api_unittest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
D chrome/browser/extensions/api/sockets_udp/udp_socket_event_dispatcher.h View 1 2 1 chunk +0 lines, -93 lines 0 comments Download
D chrome/browser/extensions/api/sockets_udp/udp_socket_event_dispatcher.cc View 1 chunk +0 lines, -181 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 2 chunks +1 line, -21 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 2 chunks +1 line, -5 lines 0 comments Download
D chrome/common/extensions/api/socket.idl View 1 chunk +0 lines, -339 lines 0 comments Download
D chrome/common/extensions/api/sockets_tcp.idl View 1 chunk +0 lines, -252 lines 0 comments Download
D chrome/common/extensions/api/sockets_tcp_server.idl View 1 chunk +0 lines, -193 lines 0 comments Download
D chrome/common/extensions/api/sockets_udp.idl View 1 chunk +0 lines, -308 lines 0 comments Download
M chrome/common/extensions/chrome_extensions_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/chrome_extensions_client.cc View 2 chunks +15 lines, -0 lines 0 comments Download
M extensions/browser/DEPS View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M extensions/browser/api/api_resource_manager.h View 1 2 2 chunks +11 lines, -6 lines 0 comments Download
A + extensions/browser/api/socket/socket.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + extensions/browser/api/socket/socket.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + extensions/browser/api/socket/socket/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/browser/api/socket/socket_api.h View 1 2 14 chunks +20 lines, -19 lines 0 comments Download
A + extensions/browser/api/socket/socket_api.cc View 36 chunks +89 lines, -104 lines 0 comments Download
A + extensions/browser/api/socket/tcp_socket.h View 8 chunks +14 lines, -20 lines 0 comments Download
A + extensions/browser/api/socket/tcp_socket.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + extensions/browser/api/socket/udp_socket.h View 5 chunks +7 lines, -11 lines 0 comments Download
A + extensions/browser/api/socket/udp_socket.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + extensions/browser/api/sockets_tcp/sockets_tcp/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/browser/api/sockets_tcp/sockets_tcp_api.h View 5 chunks +12 lines, -13 lines 0 comments Download
A + extensions/browser/api/sockets_tcp/sockets_tcp_api.cc View 13 chunks +35 lines, -34 lines 0 comments Download
A + extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.h View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
A + extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc View 8 chunks +15 lines, -14 lines 0 comments Download
A + extensions/browser/api/sockets_tcp_server/sockets_tcp_server/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.h View 3 chunks +8 lines, -9 lines 0 comments Download
A + extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc View 8 chunks +26 lines, -28 lines 0 comments Download
A + extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
A + extensions/browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc View 6 chunks +23 lines, -20 lines 0 comments Download
A + extensions/browser/api/sockets_udp/sockets_udp/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/browser/api/sockets_udp/sockets_udp_api.h View 3 chunks +8 lines, -9 lines 0 comments Download
A + extensions/browser/api/sockets_udp/sockets_udp_api.cc View 16 chunks +39 lines, -39 lines 0 comments Download
A + extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
A + extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc View 6 chunks +17 lines, -15 lines 0 comments Download
A extensions/common/api/api.gyp View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A + extensions/common/api/socket.idl View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/common/api/sockets_tcp.idl View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/common/api/sockets_tcp_server.idl View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/common/api/sockets_udp.idl View 0 chunks +-1 lines, --1 lines 0 comments Download
M extensions/common/extension_api.cc View 6 chunks +15 lines, -9 lines 0 comments Download
M extensions/common/extensions_client.h View 2 chunks +8 lines, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 5 4 chunks +23 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Ken Rockot(use gerrit already)
Here we go. FWIW I'm not totally sold on my approach of just stashing src/extensions ...
6 years, 9 months ago (2014-03-06 18:01:26 UTC) #1
Ken Rockot(use gerrit already)
Also note that this CL breaks the doc server and so is dependent on https://codereview.chromium.org/176973009/ ...
6 years, 9 months ago (2014-03-06 18:03:09 UTC) #2
James Cook
I'll let Yoyo make the call on the namespace issue. (My two cents: I think ...
6 years, 9 months ago (2014-03-06 18:30:59 UTC) #3
Ken Rockot(use gerrit already)
I agree with your opinion on the namespace issue. benwells@ also expressed a desire to ...
6 years, 9 months ago (2014-03-06 18:46:32 UTC) #4
Yoyo Zhou
temporary names LGTM https://codereview.chromium.org/183893041/diff/1/extensions/browser/DEPS File extensions/browser/DEPS (right): https://codereview.chromium.org/183893041/diff/1/extensions/browser/DEPS#newcode17 extensions/browser/DEPS:17: "+chrome/browser/extensions/api/api_resource_manager.h", On 2014/03/06 18:46:32, Ken Rockot ...
6 years, 9 months ago (2014-03-06 23:50:06 UTC) #5
Ken Rockot(use gerrit already)
Great, thanks. api_resource/_manager are moving in a separate CL. Going to sit on this one ...
6 years, 9 months ago (2014-03-07 00:06:35 UTC) #6
James Cook
Ping me if you want me to look at this again.
6 years, 9 months ago (2014-03-07 01:05:27 UTC) #7
James Cook
LGTM
6 years, 9 months ago (2014-03-07 19:36:21 UTC) #8
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-07 20:34:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/183893041/80001
6 years, 9 months ago (2014-03-07 20:36:07 UTC) #10
Ken Rockot(use gerrit already)
The CQ bit was unchecked by rockot@chromium.org
6 years, 9 months ago (2014-03-08 04:45:10 UTC) #11
Ken Rockot(use gerrit already)
This is on hold for now because the doc server support had to be rolled ...
6 years, 9 months ago (2014-03-08 04:48:26 UTC) #12
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-11 17:21:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/183893041/100001
6 years, 9 months ago (2014-03-11 17:26:56 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-11 17:57:00 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-11 17:57:04 UTC) #16
Ken Rockot(use gerrit already)
The CQ bit was checked by rockot@chromium.org
6 years, 9 months ago (2014-03-11 20:58:56 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rockot@chromium.org/183893041/120001
6 years, 9 months ago (2014-03-11 21:57:05 UTC) #18
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 06:41:33 UTC) #19
Message was sent while issue was closed.
Change committed as 256456

Powered by Google App Engine
This is Rietveld 408576698