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

Unified Diff: webrtc/p2p/base/fakepackettransport.h

Issue 2806463003: Make PacketTransportInternal inherit from PacketTransportInterface. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/ortc/udptransportinterface.h ('k') | webrtc/p2p/base/packettransportinternal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/fakepackettransport.h
diff --git a/webrtc/p2p/base/fakepackettransport.h b/webrtc/p2p/base/fakepackettransport.h
index 7e2f08437ec9782164e70d1007e9fcc15d749117..64e0f7d5a828fa2763a1d587d18e5ef2ad5ec792 100644
--- a/webrtc/p2p/base/fakepackettransport.h
+++ b/webrtc/p2p/base/fakepackettransport.h
@@ -21,8 +21,7 @@
namespace rtc {
// Used to simulate a packet-based transport.
-class FakePacketTransport : public PacketTransportInternal,
- public webrtc::PacketTransportInterface {
+class FakePacketTransport : public PacketTransportInternal {
public:
explicit FakePacketTransport(const std::string& debug_name)
: debug_name_(debug_name) {}
@@ -87,9 +86,6 @@ class FakePacketTransport : public PacketTransportInternal,
bool GetOption(Socket::Option opt, int* value) override { return true; }
int GetError() override { return 0; }
- protected:
- PacketTransportInternal* GetInternal() override { return this; }
-
private:
void set_writable(bool writable) {
if (writable_ == writable) {
« no previous file with comments | « webrtc/api/ortc/udptransportinterface.h ('k') | webrtc/p2p/base/packettransportinternal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698