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

Issue 2256663002: Remove the obsolete enum webrtc::PeerConnectionInterface::IceState. (Closed)

Created:
4 years, 4 months ago by johan
Modified:
4 years, 2 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove the obsolete enum webrtc::PeerConnectionInterface::IceState. Was replaced by IceConnectionState + IceGatheringState. BUG=webrtc:6299 Committed: https://crrev.com/31dea98e9c87e640e185fd86fe63d952b5402e05 Cr-Commit-Position: refs/heads/master@{#13963}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -27 lines) Patch
M webrtc/api/peerconnection.h View 2 chunks +0 lines, -4 lines 0 comments Download
M webrtc/api/peerconnection.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M webrtc/api/peerconnectioninterface.h View 2 chunks +0 lines, -17 lines 0 comments Download
M webrtc/api/peerconnectionproxy.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (8 generated)
johan
4 years, 4 months ago (2016-08-17 12:43:39 UTC) #2
pthatcher1
lgtm I found one product that uses this still, and so would break their build. ...
4 years, 4 months ago (2016-08-22 23:27:06 UTC) #7
johan
On 2016/08/22 23:27:06, pthatcher1 wrote: > lgtm > > I found one product that uses ...
4 years, 4 months ago (2016-08-23 07:40:13 UTC) #8
pthatcher1
I believe that product has been updated now and this can be submitted.
4 years, 3 months ago (2016-08-29 19:03:25 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/2256663002/1
4 years, 3 months ago (2016-08-29 19:03:41 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-29 21:11:33 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/31dea98e9c87e640e185fd86fe63d952b5402e05 Cr-Commit-Position: refs/heads/master@{#13963}
4 years, 3 months ago (2016-08-29 21:11:42 UTC) #14
perkj_webrtc
A revert of this CL (patchset #1 id:1) has been created in https://codereview.webrtc.org/2290963002/ by perkj@webrtc.org. ...
4 years, 3 months ago (2016-08-30 06:51:04 UTC) #15
johan
How should we proceed here? IceState PeerConnectionInterface::ice_state() is pure virtual. That makes it difficult to ...
4 years, 3 months ago (2016-09-02 10:32:16 UTC) #16
sprang_webrtc
4 years, 3 months ago (2016-09-02 11:55:18 UTC) #17
Message was sent while issue was closed.
On 2016/09/02 10:32:16, johan wrote:
> How should we proceed here?  
> IceState PeerConnectionInterface::ice_state() is pure virtual.
> That makes it difficult to remove the mock method implementation from
Chromium.
> 
> I suggest following approach:
> 
> 1) Provide a default implementation in PeerConnectionInterface for a limited
> time frame. Like 
> 
> IceState PeerConnectionInterface::ice_state() {
>   RTC_NOTREACHED;
>   return kIceNew;
> }
> 
> 
> 2) Remove the ice_state() implementation from Chromium's
> mock_peer_connection_impl.h [1].
> 
> chromium-linux/src((ac9c785...))$ git diff
> diff --git a/content/renderer/media/mock_peer_connection_impl.h
> b/content/renderer/media/mock_peer_connection_impl.h
> index c6a1d19..e597f6e 100644
> --- a/content/renderer/media/mock_peer_connection_impl.h
> +++ b/content/renderer/media/mock_peer_connection_impl.h
> @@ -49,10 +49,6 @@ class MockPeerConnectionImpl : public
> webrtc::PeerConnectionInterface {
>      NOTIMPLEMENTED();
>      return PeerConnectionInterface::kStable;
>    }
> -  IceState ice_state() override {
> -    NOTIMPLEMENTED();
> -    return PeerConnectionInterface::kIceNew;
> -  }
>    IceConnectionState ice_connection_state() override {
>      NOTIMPLEMENTED();
>      return PeerConnectionInterface::kIceConnectionNew;
> 
> 3) Wait a few days. Exact time frame is t.b.d.
> 
> 4) Reland this patch.
> 
> 
> 
> [1]
>
https://cs.chromium.org/chromium/src/content/renderer/media/mock_peer_connect...

Yes, that is essentially standard practice.

Powered by Google App Engine
This is Rietveld 408576698