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

Issue 6598053: P2P Sockets host implementation. (Closed)

Created:
9 years, 9 months ago by Sergey Ulanov
Modified:
9 years, 7 months ago
Reviewers:
brettw, jam
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

P2P Sockets host implementation. Currently only UDP sockets on Mac and Linux are supported. Also added --enable-p2papi flag. The flags just enables IPC for P2P. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76604

Patch Set 1 : - #

Total comments: 20

Patch Set 2 : addressed comments #

Patch Set 3 : Fix try failures #

Patch Set 4 : merge #

Patch Set 5 : - #

Total comments: 18

Patch Set 6 : Addressed all comments #

Total comments: 14

Patch Set 7 : addressed all comments #

Patch Set 8 : 0 #

Patch Set 9 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+669 lines, -6 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 3 4 5 6 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
A content/browser/renderer_host/p2p_socket_host.h View 1 2 3 4 5 6 7 8 1 chunk +39 lines, -0 lines 0 comments Download
A content/browser/renderer_host/p2p_socket_host.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
A content/browser/renderer_host/p2p_socket_host_posix.h View 1 2 3 4 5 6 7 8 1 chunk +58 lines, -0 lines 0 comments Download
A content/browser/renderer_host/p2p_socket_host_posix.cc View 1 2 3 4 5 1 chunk +260 lines, -0 lines 0 comments Download
A content/browser/renderer_host/p2p_socket_host_win.h View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
A content/browser/renderer_host/p2p_socket_host_win.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
A content/browser/renderer_host/p2p_sockets_host.h View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
A content/browser/renderer_host/p2p_sockets_host.cc View 1 2 3 4 5 1 chunk +81 lines, -0 lines 0 comments Download
A content/common/p2p_messages.h View 1 2 3 4 5 6 1 chunk +62 lines, -0 lines 0 comments Download
A content/common/p2p_messages.cc View 1 2 3 4 5 6 7 1 chunk +31 lines, -0 lines 0 comments Download
A content/common/p2p_sockets.h View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 2 chunks +9 lines, -2 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Sergey Ulanov
9 years, 9 months ago (2011-02-28 23:04:31 UTC) #1
awong
Here's my first round of comments. Brett, FYI, Sergey's in london. If you're able to ...
9 years, 9 months ago (2011-02-28 23:37:46 UTC) #2
brettw
Sorry, am OOO all week unexpectedly. Can you have John look at the overall architecture ...
9 years, 9 months ago (2011-03-01 05:01:08 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/6598053/diff/14/content/browser/renderer_host/p2p_sockets_host.cc File content/browser/renderer_host/p2p_sockets_host.cc (right): http://codereview.chromium.org/6598053/diff/14/content/browser/renderer_host/p2p_sockets_host.cc#newcode9 content/browser/renderer_host/p2p_sockets_host.cc:9: // Currently P2P Sockets are not implemented for Windows ...
9 years, 9 months ago (2011-03-01 10:49:33 UTC) #4
jam
http://codereview.chromium.org/6598053/diff/28/chrome/browser/renderer_host/browser_render_process_host.cc File chrome/browser/renderer_host/browser_render_process_host.cc (right): http://codereview.chromium.org/6598053/diff/28/chrome/browser/renderer_host/browser_render_process_host.cc#newcode490 chrome/browser/renderer_host/browser_render_process_host.cc:490: if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableP2PApi)) { nit: this file doesn't use brace ...
9 years, 9 months ago (2011-03-01 19:35:54 UTC) #5
awong
couple more nits. Differing to John for primary review (read: don't need to wait for ...
9 years, 9 months ago (2011-03-01 19:57:53 UTC) #6
Sergey Ulanov
Split the P2PSocketsHost into multiple files http://codereview.chromium.org/6598053/diff/14/content/browser/renderer_host/p2p_sockets_host.cc File content/browser/renderer_host/p2p_sockets_host.cc (right): http://codereview.chromium.org/6598053/diff/14/content/browser/renderer_host/p2p_sockets_host.cc#newcode9 content/browser/renderer_host/p2p_sockets_host.cc:9: // Currently P2P ...
9 years, 9 months ago (2011-03-01 22:34:16 UTC) #7
jam
http://codereview.chromium.org/6598053/diff/31/content/browser/renderer_host/p2p_socket_host.h File content/browser/renderer_host/p2p_socket_host.h (right): http://codereview.chromium.org/6598053/diff/31/content/browser/renderer_host/p2p_socket_host.h#newcode1 content/browser/renderer_host/p2p_socket_host.h:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
9 years, 9 months ago (2011-03-02 00:39:24 UTC) #8
jam
http://codereview.chromium.org/6598053/diff/31/content/browser/renderer_host/p2p_socket_host.h File content/browser/renderer_host/p2p_socket_host.h (right): http://codereview.chromium.org/6598053/diff/31/content/browser/renderer_host/p2p_socket_host.h#newcode15 content/browser/renderer_host/p2p_socket_host.h:15: static P2PSocketHost* Create(P2PSocketsHost* host, int routing_id, int id, can ...
9 years, 9 months ago (2011-03-02 00:41:09 UTC) #9
Sergey Ulanov
addressed all comments http://codereview.chromium.org/6598053/diff/31/content/browser/renderer_host/p2p_socket_host.h File content/browser/renderer_host/p2p_socket_host.h (right): http://codereview.chromium.org/6598053/diff/31/content/browser/renderer_host/p2p_socket_host.h#newcode1 content/browser/renderer_host/p2p_socket_host.h:1: // Copyright (c) 2011 The Chromium ...
9 years, 9 months ago (2011-03-02 11:00:47 UTC) #10
jam
9 years, 9 months ago (2011-03-02 17:26:35 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698