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

Side by Side Diff: webrtc/pc/test/fakedatachannelprovider.h

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Rebase Created 4 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_API_TEST_FAKEDATACHANNELPROVIDER_H_ 11 #ifndef WEBRTC_PC_TEST_FAKEDATACHANNELPROVIDER_H_
12 #define WEBRTC_API_TEST_FAKEDATACHANNELPROVIDER_H_ 12 #define WEBRTC_PC_TEST_FAKEDATACHANNELPROVIDER_H_
13 13
14 #include "webrtc/api/datachannel.h" 14 #include "webrtc/pc/datachannel.h"
15 15
16 class FakeDataChannelProvider : public webrtc::DataChannelProviderInterface { 16 class FakeDataChannelProvider : public webrtc::DataChannelProviderInterface {
17 public: 17 public:
18 FakeDataChannelProvider() 18 FakeDataChannelProvider()
19 : send_blocked_(false), 19 : send_blocked_(false),
20 transport_available_(false), 20 transport_available_(false),
21 ready_to_send_(false), 21 ready_to_send_(false),
22 transport_error_(false) {} 22 transport_error_(false) {}
23 virtual ~FakeDataChannelProvider() {} 23 virtual ~FakeDataChannelProvider() {}
24 24
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 private: 134 private:
135 cricket::SendDataParams last_send_data_params_; 135 cricket::SendDataParams last_send_data_params_;
136 bool send_blocked_; 136 bool send_blocked_;
137 bool transport_available_; 137 bool transport_available_;
138 bool ready_to_send_; 138 bool ready_to_send_;
139 bool transport_error_; 139 bool transport_error_;
140 std::set<webrtc::DataChannel*> connected_channels_; 140 std::set<webrtc::DataChannel*> connected_channels_;
141 std::set<uint32_t> send_ssrcs_; 141 std::set<uint32_t> send_ssrcs_;
142 std::set<uint32_t> recv_ssrcs_; 142 std::set<uint32_t> recv_ssrcs_;
143 }; 143 };
144 #endif // WEBRTC_API_TEST_FAKEDATACHANNELPROVIDER_H_ 144 #endif // WEBRTC_PC_TEST_FAKEDATACHANNELPROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698