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

Side by Side Diff: trunk/src/media/cast/pacing/mock_packet_sender.h

Issue 25546003: Revert 226264 "Be able to build cast_unittest and related target..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MEDIA_CAST_PACING_MOCK_PACKET_SENDER_H_ 5 #ifndef MEDIA_CAST_PACING_MOCK_PACKET_SENDER_H_
6 #define MEDIA_CAST_PACING_MOCK_PACKET_SENDER_H_ 6 #define MEDIA_CAST_PACING_MOCK_PACKET_SENDER_H_
7 7
8 #include "media/cast/cast_config.h" 8 #include "media/cast/cast_config.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace media { 11 namespace media {
12 namespace cast { 12 namespace cast {
13 13
14 class MockPacketSender : public PacketSender { 14 class MockPacketSender : public PacketSender {
15 public: 15 public:
16 MockPacketSender();
17 virtual ~MockPacketSender();
18 MOCK_METHOD2(SendPacket, bool(const uint8* packet, int length)); 16 MOCK_METHOD2(SendPacket, bool(const uint8* packet, int length));
19 }; 17 };
20 18
21 } // namespace cast 19 } // namespace cast
22 } // namespace media 20 } // namespace media
23 21
24 #endif // MEDIA_CAST_PACING_MOCK_PACKET_SENDER_H_ 22 #endif // MEDIA_CAST_PACING_MOCK_PACKET_SENDER_H_
OLDNEW
« no previous file with comments | « trunk/src/media/cast/pacing/mock_paced_packet_sender.cc ('k') | trunk/src/media/cast/pacing/mock_packet_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698