OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ |
6 #define CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h
" | 13 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h
" |
12 | 14 |
13 namespace content { | 15 namespace content { |
14 | 16 |
15 class MockDataChannel : public webrtc::DataChannelInterface { | 17 class MockDataChannel : public webrtc::DataChannelInterface { |
16 public: | 18 public: |
17 MockDataChannel(const std::string& label, | 19 MockDataChannel(const std::string& label, |
(...skipping 26 matching lines...) Expand all Loading... |
44 webrtc::DataChannelInterface::DataState state_; | 46 webrtc::DataChannelInterface::DataState state_; |
45 webrtc::DataChannelInit config_; | 47 webrtc::DataChannelInit config_; |
46 webrtc::DataChannelObserver* observer_; | 48 webrtc::DataChannelObserver* observer_; |
47 | 49 |
48 DISALLOW_COPY_AND_ASSIGN(MockDataChannel); | 50 DISALLOW_COPY_AND_ASSIGN(MockDataChannel); |
49 }; | 51 }; |
50 | 52 |
51 } // namespace content | 53 } // namespace content |
52 | 54 |
53 #endif // CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ | 55 #endif // CONTENT_RENDERER_MEDIA_MOCK_DATA_CHANNEL_IMPL_H_ |
OLD | NEW |