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

Side by Side Diff: webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ 11 #ifndef WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_
12 #define WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ 12 #define WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_
13 13
14 #include <set> 14 #include <set>
15 #include <utility> 15 #include <utility>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/base/checks.h"
19 #include "webrtc/base/optional.h"
20 #include "webrtc/modules/include/module.h" 18 #include "webrtc/modules/include/module.h"
21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
22 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
22 #include "webrtc/rtc_base/checks.h"
23 #include "webrtc/rtc_base/optional.h"
24 #include "webrtc/test/gmock.h" 24 #include "webrtc/test/gmock.h"
25 25
26 namespace webrtc { 26 namespace webrtc {
27 27
28 class MockRtpData : public RtpData { 28 class MockRtpData : public RtpData {
29 public: 29 public:
30 MOCK_METHOD3(OnReceivedPayloadData, 30 MOCK_METHOD3(OnReceivedPayloadData,
31 int32_t(const uint8_t* payload_data, 31 int32_t(const uint8_t* payload_data,
32 size_t payload_size, 32 size_t payload_size,
33 const WebRtcRTPHeader* rtp_header)); 33 const WebRtcRTPHeader* rtp_header));
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 private: 205 private:
206 // Mocking this method is currently not required and having a default 206 // Mocking this method is currently not required and having a default
207 // implementation like MOCK_METHOD0(TimeUntilNextProcess, int64_t()) 207 // implementation like MOCK_METHOD0(TimeUntilNextProcess, int64_t())
208 // can be dangerous since it can cause a tight loop on a process thread. 208 // can be dangerous since it can cause a tight loop on a process thread.
209 virtual int64_t TimeUntilNextProcess() { return 0xffffffff; } 209 virtual int64_t TimeUntilNextProcess() { return 0xffffffff; }
210 }; 210 };
211 211
212 } // namespace webrtc 212 } // namespace webrtc
213 213
214 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ 214 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h ('k') | webrtc/modules/rtp_rtcp/source/dtmf_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698