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

Side by Side Diff: talk/media/webrtc/fakewebrtccall.h

Issue 1610243002: Move talk/app/webrtc to webrtc/api (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updated location for peerconnection_unittests.isolate Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 21 matching lines...) Expand all
32 // webrtc::AudioSendStream 32 // webrtc::AudioSendStream
33 // webrtc::AudioReceiveStream 33 // webrtc::AudioReceiveStream
34 // webrtc::VideoSendStream 34 // webrtc::VideoSendStream
35 // webrtc::VideoReceiveStream 35 // webrtc::VideoReceiveStream
36 36
37 #ifndef TALK_MEDIA_WEBRTC_FAKEWEBRTCCALL_H_ 37 #ifndef TALK_MEDIA_WEBRTC_FAKEWEBRTCCALL_H_
38 #define TALK_MEDIA_WEBRTC_FAKEWEBRTCCALL_H_ 38 #define TALK_MEDIA_WEBRTC_FAKEWEBRTCCALL_H_
39 39
40 #include <vector> 40 #include <vector>
41 41
42 #include "webrtc/call.h"
43 #include "webrtc/audio_receive_stream.h" 42 #include "webrtc/audio_receive_stream.h"
44 #include "webrtc/audio_send_stream.h" 43 #include "webrtc/audio_send_stream.h"
44 #include "webrtc/call.h"
45 #include "webrtc/video_frame.h" 45 #include "webrtc/video_frame.h"
46 #include "webrtc/video_receive_stream.h" 46 #include "webrtc/video_receive_stream.h"
47 #include "webrtc/video_send_stream.h" 47 #include "webrtc/video_send_stream.h"
48 48
49 namespace cricket { 49 namespace cricket {
50 class FakeAudioSendStream final : public webrtc::AudioSendStream { 50 class FakeAudioSendStream final : public webrtc::AudioSendStream {
51 public: 51 public:
52 struct TelephoneEvent { 52 struct TelephoneEvent {
53 int payload_type = -1; 53 int payload_type = -1;
54 uint8_t event_code = 0; 54 uint8_t event_code = 0;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 std::vector<FakeAudioSendStream*> audio_send_streams_; 260 std::vector<FakeAudioSendStream*> audio_send_streams_;
261 std::vector<FakeVideoReceiveStream*> video_receive_streams_; 261 std::vector<FakeVideoReceiveStream*> video_receive_streams_;
262 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; 262 std::vector<FakeAudioReceiveStream*> audio_receive_streams_;
263 263
264 int num_created_send_streams_; 264 int num_created_send_streams_;
265 int num_created_receive_streams_; 265 int num_created_receive_streams_;
266 }; 266 };
267 267
268 } // namespace cricket 268 } // namespace cricket
269 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ 269 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698