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

Issue 7713021: Add SetProperty() in the PPB_Transport_Dev interface. (Closed)

Created:
9 years, 4 months ago by Sergey Ulanov
Modified:
9 years, 3 months ago
Reviewers:
brettw
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, piman+watch_chromium.org
Visibility:
Public.

Description

Add SetProperti() in the PPB_Transport_Dev interface. BUG=41776 TEST=Unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98485

Patch Set 1 #

Total comments: 5

Patch Set 2 : - #

Patch Set 3 : s/SetConfig/SetProperty/ #

Patch Set 4 : - #

Patch Set 5 : - #

Total comments: 16

Patch Set 6 : - #

Patch Set 7 : - #

Patch Set 8 : - #

Patch Set 9 : - #

Patch Set 10 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -23 lines) Patch
M content/renderer/p2p/p2p_transport_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/p2p/p2p_transport_impl.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/p2p/p2p_transport_impl_unittest.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppb_transport_dev.h View 1 2 3 4 5 2 chunks +27 lines, -2 lines 0 comments Download
M ppapi/cpp/dev/transport_dev.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/cpp/dev/transport_dev.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M ppapi/tests/test_transport.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_transport.cc View 1 2 3 4 5 6 7 8 6 chunks +52 lines, -11 lines 0 comments Download
M ppapi/thunk/ppb_transport_api.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/ppb_transport_thunk.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M webkit/glue/p2p_transport.h View 1 2 3 4 5 6 7 8 9 2 chunks +20 lines, -1 line 0 comments Download
A webkit/glue/p2p_transport.cc View 1 2 3 4 5 6 7 8 9 1 chunk +17 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_transport_impl.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_transport_impl.cc View 1 2 3 4 5 3 chunks +68 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Sergey Ulanov
9 years, 4 months ago (2011-08-22 23:21:09 UTC) #1
Sergey Ulanov
http://codereview.chromium.org/7713021/diff/1/ppapi/tests/test_transport.cc File ppapi/tests/test_transport.cc (right): http://codereview.chromium.org/7713021/diff/1/ppapi/tests/test_transport.cc#newcode252 ppapi/tests/test_transport.cc:252: pp::Module::Get()->core()->CallOnMainThread(kUdpWaitTimeMs, timeout_cb); I changed this code and removed timeout ...
9 years, 4 months ago (2011-08-22 23:25:10 UTC) #2
brettw
http://codereview.chromium.org/7713021/diff/1/ppapi/c/dev/ppb_transport_dev.h File ppapi/c/dev/ppb_transport_dev.h (right): http://codereview.chromium.org/7713021/diff/1/ppapi/c/dev/ppb_transport_dev.h#newcode16 ppapi/c/dev/ppb_transport_dev.h:16: #define PPB_TRANSPORT_DEV_INTERFACE_0_5 "PPB_Transport;0.5" Be sure to rev the interface ...
9 years, 4 months ago (2011-08-22 23:59:59 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/7713021/diff/1/ppapi/c/dev/ppb_transport_dev.h File ppapi/c/dev/ppb_transport_dev.h (right): http://codereview.chromium.org/7713021/diff/1/ppapi/c/dev/ppb_transport_dev.h#newcode38 ppapi/c/dev/ppb_transport_dev.h:38: // configuration parameters. On 2011/08/22 23:59:59, brettw wrote: > ...
9 years, 4 months ago (2011-08-23 19:02:04 UTC) #4
brettw
On Tue, Aug 23, 2011 at 12:02 PM, <sergeyu@chromium.org> wrote: > > http://codereview.chromium.org/7713021/diff/1/ppapi/c/dev/ppb_transport_dev.h > File ...
9 years, 4 months ago (2011-08-23 19:39:43 UTC) #5
Sergey Ulanov
PTAL, I've replaced SetConfig() with SetProperty().
9 years, 4 months ago (2011-08-23 21:37:20 UTC) #6
Sergey Ulanov
Also simplified properties: now only one server can be specified for stun and relay server ...
9 years, 3 months ago (2011-08-24 17:22:16 UTC) #7
brettw
http://codereview.chromium.org/7713021/diff/8005/ppapi/c/dev/ppb_transport_dev.h File ppapi/c/dev/ppb_transport_dev.h (right): http://codereview.chromium.org/7713021/diff/8005/ppapi/c/dev/ppb_transport_dev.h#newcode16 ppapi/c/dev/ppb_transport_dev.h:16: #define PPB_TRANSPORT_DEV_INTERFACE_0_5 "PPB_Transport;0.5" Since we're not keeping backwards compat, ...
9 years, 3 months ago (2011-08-25 16:48:43 UTC) #8
Sergey Ulanov
http://codereview.chromium.org/7713021/diff/8005/ppapi/c/dev/ppb_transport_dev.h File ppapi/c/dev/ppb_transport_dev.h (right): http://codereview.chromium.org/7713021/diff/8005/ppapi/c/dev/ppb_transport_dev.h#newcode16 ppapi/c/dev/ppb_transport_dev.h:16: #define PPB_TRANSPORT_DEV_INTERFACE_0_5 "PPB_Transport;0.5" On 2011/08/25 16:48:43, brettw wrote: > ...
9 years, 3 months ago (2011-08-25 17:36:53 UTC) #9
brettw
http://codereview.chromium.org/7713021/diff/8005/webkit/glue/p2p_transport.cc File webkit/glue/p2p_transport.cc (right): http://codereview.chromium.org/7713021/diff/8005/webkit/glue/p2p_transport.cc#newcode14 webkit/glue/p2p_transport.cc:14: P2PTransport::Config::~Config() { } On 2011/08/25 17:36:53, sergeyu wrote: > ...
9 years, 3 months ago (2011-08-26 20:24:06 UTC) #10
brettw
LGTM with previous style comment fixed.
9 years, 3 months ago (2011-08-26 20:28:16 UTC) #11
Sergey Ulanov
9 years, 3 months ago (2011-08-26 20:34:35 UTC) #12
http://codereview.chromium.org/7713021/diff/8005/webkit/glue/p2p_transport.cc
File webkit/glue/p2p_transport.cc (right):

http://codereview.chromium.org/7713021/diff/8005/webkit/glue/p2p_transport.cc...
webkit/glue/p2p_transport.cc:14: P2PTransport::Config::~Config() { }
On 2011/08/26 20:24:06, brettw wrote:
> On 2011/08/25 17:36:53, sergeyu wrote:
> > On 2011/08/25 16:48:43, brettw wrote:
> > > Style guide says no space in {} (in this case I'd actually put the } on
the
> > next
> > > line, personally, since in the .cc file it's no less clear if it's one
line
> > > longer.
> > Done.
> > Personally I prefer to have space here, and there is a lot of code that does
> > have space in such cases, e.g.
> >   ~/c/src/base$ grep \{\ \} * |wc -l
> >   49
> > I didn't know that the style guide says that there should be no space. Just
> out
> > of curiosity, can you point out at the specific rule that mentions it.
Thanks
> 
>
http://www.corp.google.com/eng/doc/cppguide.xml?showone=Horizontal_Whitespace...
> "no spaces inside empty braces"
Thanks!

Powered by Google App Engine
This is Rietveld 408576698