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