| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef REMOTING_PROTOCOL_WEBRTC_DATA_STREAM_ADAPTER_H_ | 5 #ifndef REMOTING_PROTOCOL_WEBRTC_DATA_STREAM_ADAPTER_H_ | 
| 6 #define REMOTING_PROTOCOL_WEBRTC_DATA_STREAM_ADAPTER_H_ | 6 #define REMOTING_PROTOCOL_WEBRTC_DATA_STREAM_ADAPTER_H_ | 
| 7 | 7 | 
| 8 #include <string> | 8 #include <string> | 
| 9 | 9 | 
| 10 #include "base/callback.h" | 10 #include "base/callback.h" | 
| 11 #include "base/macros.h" | 11 #include "base/macros.h" | 
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" | 
| 13 #include "remoting/protocol/errors.h" | 13 #include "remoting/protocol/errors.h" | 
| 14 #include "remoting/protocol/message_channel_factory.h" | 14 #include "remoting/protocol/message_channel_factory.h" | 
| 15 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h
    " | 15 #include "third_party/webrtc/api/peerconnectioninterface.h" | 
| 16 #include "third_party/webrtc/base/refcount.h" | 16 #include "third_party/webrtc/base/refcount.h" | 
| 17 | 17 | 
| 18 namespace rtc { | 18 namespace rtc { | 
| 19 class PeerConnectionInterface; | 19 class PeerConnectionInterface; | 
| 20 }  // namespace rtc | 20 }  // namespace rtc | 
| 21 | 21 | 
| 22 namespace remoting { | 22 namespace remoting { | 
| 23 namespace protocol { | 23 namespace protocol { | 
| 24 | 24 | 
| 25 // WebrtcDataStreamAdapter is a MessageChannelFactory that creates channels that | 25 // WebrtcDataStreamAdapter is a MessageChannelFactory that creates channels that | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 64 | 64 | 
| 65   base::WeakPtrFactory<WebrtcDataStreamAdapter> weak_factory_; | 65   base::WeakPtrFactory<WebrtcDataStreamAdapter> weak_factory_; | 
| 66 | 66 | 
| 67   DISALLOW_COPY_AND_ASSIGN(WebrtcDataStreamAdapter); | 67   DISALLOW_COPY_AND_ASSIGN(WebrtcDataStreamAdapter); | 
| 68 }; | 68 }; | 
| 69 | 69 | 
| 70 }  // namespace protocol | 70 }  // namespace protocol | 
| 71 }  // namespace remoting | 71 }  // namespace remoting | 
| 72 | 72 | 
| 73 #endif  // REMOTING_PROTOCOL_WEBRTC_DATA_STREAM_ADAPTER_H_ | 73 #endif  // REMOTING_PROTOCOL_WEBRTC_DATA_STREAM_ADAPTER_H_ | 
| OLD | NEW | 
|---|