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

Side by Side Diff: remoting/base/mock_objects.h

Issue 2690003: Copy the (early prototype of) remoting in Chrome into the public tree.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
« no previous file with comments | « remoting/base/constants.cc ('k') | remoting/base/multiple_array_input_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_BASE_MOCK_OBJECTS_H_
6 #define REMOTING_BASE_MOCK_OBJECTS_H_
7
8 #include "remoting/base/protocol_decoder.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 namespace remoting {
12
13 class MockProtocolDecoder : public ProtocolDecoder {
14 public:
15 MockProtocolDecoder() {}
16
17 MOCK_METHOD2(ParseClientMessages,
18 void(scoped_refptr<media::DataBuffer> data,
19 ClientMessageList* messages));
20 MOCK_METHOD2(ParseHostMessages,
21 void(scoped_refptr<media::DataBuffer> data,
22 HostMessageList* messages));
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(MockProtocolDecoder);
26 };
27
28 } // namespace remoting
29
30 #endif // REMOTING_BASE_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/base/constants.cc ('k') | remoting/base/multiple_array_input_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698