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

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

Issue 2840036: Moving Encoder and Decoder to remoting/base (Closed)
Patch Set: fix DEPS Created 10 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
« no previous file with comments | « remoting/base/mock_objects.h ('k') | remoting/client/plugin/pepper_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 REMOTING_CLIENT_MOCK_OBJECTS_H_ 5 #ifndef REMOTING_CLIENT_MOCK_OBJECTS_H_
6 #define REMOTING_CLIENT_MOCK_OBJECTS_H_ 6 #define REMOTING_CLIENT_MOCK_OBJECTS_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "remoting/client/decoder.h"
10 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
11 10
12 namespace remoting { 11 namespace remoting {
13 12
14 class MockDecodeDoneHandler : 13 class MockDecodeDoneHandler :
15 public base::RefCountedThreadSafe<MockDecodeDoneHandler> { 14 public base::RefCountedThreadSafe<MockDecodeDoneHandler> {
16 public: 15 public:
17 MockDecodeDoneHandler() {} 16 MockDecodeDoneHandler() {}
18 17
19 MOCK_METHOD0(PartialDecodeDone, void()); 18 MOCK_METHOD0(PartialDecodeDone, void());
20 MOCK_METHOD0(DecodeDone, void()); 19 MOCK_METHOD0(DecodeDone, void());
21 20
22 private: 21 private:
23 DISALLOW_COPY_AND_ASSIGN(MockDecodeDoneHandler); 22 DISALLOW_COPY_AND_ASSIGN(MockDecodeDoneHandler);
24 }; 23 };
25 24
26 } // namespace remoting 25 } // namespace remoting
27 26
28 #endif // REMOTING_CLIENT_MOCK_OBJECTS_H_ 27 #endif // REMOTING_CLIENT_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/base/mock_objects.h ('k') | remoting/client/plugin/pepper_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698