OLD | NEW |
(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_CLIENT_MOCK_OBJECTS_H_ |
| 6 #define REMOTING_CLIENT_MOCK_OBJECTS_H_ |
| 7 |
| 8 #include "base/ref_counted.h" |
| 9 #include "remoting/client/decoder.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" |
| 11 |
| 12 namespace remoting { |
| 13 |
| 14 class MockDecodeDoneHandler : |
| 15 public base::RefCountedThreadSafe<MockDecodeDoneHandler> { |
| 16 public: |
| 17 MockDecodeDoneHandler() {} |
| 18 |
| 19 MOCK_METHOD0(PartialDecodeDone, void()); |
| 20 MOCK_METHOD0(DecodeDone, void()); |
| 21 |
| 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(MockDecodeDoneHandler); |
| 24 }; |
| 25 |
| 26 } // namespace remoting |
| 27 |
| 28 #endif // REMOTING_CLIENT_MOCK_OBJECTS_H_ |
OLD | NEW |