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

Side by Side Diff: webrtc/voice_engine/test/auto_test/fakes/conference_transport.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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 (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 #include "webrtc/voice_engine/test/auto_test/fakes/conference_transport.h" 11 #include "webrtc/voice_engine/test/auto_test/fakes/conference_transport.h"
12 12
13 #include <string> 13 #include <string>
14 14
15 #include "webrtc/base/byteorder.h" 15 #include "webrtc/base/byteorder.h"
16 #include "webrtc/base/timeutils.h" 16 #include "webrtc/base/timeutils.h"
17 #include "webrtc/system_wrappers/interface/sleep.h" 17 #include "webrtc/system_wrappers/include/sleep.h"
18 18
19 namespace { 19 namespace {
20 static const unsigned int kReflectorSsrc = 0x0000; 20 static const unsigned int kReflectorSsrc = 0x0000;
21 static const unsigned int kLocalSsrc = 0x0001; 21 static const unsigned int kLocalSsrc = 0x0001;
22 static const unsigned int kFirstRemoteSsrc = 0x0002; 22 static const unsigned int kFirstRemoteSsrc = 0x0002;
23 static const webrtc::CodecInst kCodecInst = 23 static const webrtc::CodecInst kCodecInst =
24 {120, "opus", 48000, 960, 2, 64000}; 24 {120, "opus", 48000, 960, 2, 64000};
25 static const int kAudioLevelHeaderId = 1; 25 static const int kAudioLevelHeaderId = 1;
26 26
27 static unsigned int ParseRtcpSsrc(const void* data, size_t len) { 27 static unsigned int ParseRtcpSsrc(const void* data, size_t len) {
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 bool ConferenceTransport::GetReceiverStatistics(unsigned int id, 281 bool ConferenceTransport::GetReceiverStatistics(unsigned int id,
282 webrtc::CallStatistics* stats) { 282 webrtc::CallStatistics* stats) {
283 int dst = GetReceiverChannelForSsrc(id); 283 int dst = GetReceiverChannelForSsrc(id);
284 if (dst == -1) { 284 if (dst == -1) {
285 return false; 285 return false;
286 } 286 }
287 EXPECT_EQ(0, local_rtp_rtcp_->GetRTCPStatistics(dst, *stats)); 287 EXPECT_EQ(0, local_rtp_rtcp_->GetRTCPStatistics(dst, *stats));
288 return true; 288 return true;
289 } 289 }
290 } // namespace voetest 290 } // namespace voetest
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698