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

Issue 2628343003: Adding some features to proxy.h, and restructuring the macros. (Closed)

Created:
3 years, 11 months ago by Taylor Brandstetter
Modified:
3 years, 11 months ago
Reviewers:
tommi, pthatcher1
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adding some features to proxy.h, and restructuring the macros. New features are: - Invoke a destructor on the worker thread. - Make proxy wrapper for a non-refcounted object. - Ability to use unique_ptrs (as arguments or return values). These features are needed by this CL: https://codereview.webrtc.org/2632613002/ BUG=None Review-Url: https://codereview.webrtc.org/2628343003 Cr-Commit-Position: refs/heads/master@{#16151} Committed: https://chromium.googlesource.com/external/webrtc/+/d99a200fad07a23e4e31daab50b7b55bf364ad06

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rename "NON_REFCOUNTED" to "OWNED". #

Patch Set 3 : Add tests. #

Patch Set 4 : Also support std::unique_ptrs (by std::moving arguments and results) #

Patch Set 5 : Fixing "depends on patchset..." #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -227 lines) Patch
M webrtc/api/datachannel.h View 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/dtmfsender.h View 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/mediastreamproxy.h View 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M webrtc/api/mediastreamtrackproxy.h View 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M webrtc/api/peerconnectionfactoryproxy.h View 1 2 3 4 2 chunks +15 lines, -50 lines 1 comment Download
M webrtc/api/peerconnectionproxy.h View 2 3 4 6 chunks +24 lines, -12 lines 0 comments Download
M webrtc/api/proxy.h View 1 2 3 4 15 chunks +243 lines, -133 lines 0 comments Download
M webrtc/api/proxy_unittest.cc View 1 2 3 4 6 chunks +79 lines, -6 lines 0 comments Download
M webrtc/api/rtpreceiverinterface.h View 2 3 4 1 chunk +8 lines, -7 lines 0 comments Download
M webrtc/api/rtpsenderinterface.h View 2 3 4 1 chunk +10 lines, -9 lines 0 comments Download
M webrtc/api/videosourceproxy.h View 2 3 4 2 chunks +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (11 generated)
pthatcher1
https://codereview.webrtc.org/2628343003/diff/1/webrtc/api/peerconnectionfactoryproxy.h File webrtc/api/peerconnectionfactoryproxy.h (right): https://codereview.webrtc.org/2628343003/diff/1/webrtc/api/peerconnectionfactoryproxy.h#newcode103 webrtc/api/peerconnectionfactoryproxy.h:103: END_PROXY_MAP() It seems like the end should match the ...
3 years, 11 months ago (2017-01-17 19:44:00 UTC) #2
Taylor Brandstetter
https://codereview.webrtc.org/2628343003/diff/1/webrtc/api/peerconnectionfactoryproxy.h File webrtc/api/peerconnectionfactoryproxy.h (right): https://codereview.webrtc.org/2628343003/diff/1/webrtc/api/peerconnectionfactoryproxy.h#newcode103 webrtc/api/peerconnectionfactoryproxy.h:103: END_PROXY_MAP() On 2017/01/17 19:44:00, pthatcher1 wrote: > It seems ...
3 years, 11 months ago (2017-01-18 01:17:14 UTC) #3
pthatcher1
LGTM This looks good to me, but the macro fun could sure you another set ...
3 years, 11 months ago (2017-01-18 01:19:38 UTC) #4
Taylor Brandstetter
I also added support for unique_ptrs (I realized I needed this too, plus it was ...
3 years, 11 months ago (2017-01-18 02:25:55 UTC) #5
Taylor Brandstetter
tommi: Would you like to take a look as well?
3 years, 11 months ago (2017-01-18 03:48:39 UTC) #8
tommi
nice improvement. lgtm. Thanks for taking care of the todo as well :) https://codereview.webrtc.org/2628343003/diff/80001/webrtc/api/peerconnectionfactoryproxy.h File ...
3 years, 11 months ago (2017-01-18 12:18:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2628343003/80001
3 years, 11 months ago (2017-01-18 16:52:47 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 16:55:27 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/d99a200fad07a23e4e31daab5...

Powered by Google App Engine
This is Rietveld 408576698