OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Native Client 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 #ifndef DEBUGGER_CORE_DEBUG_API_MOCK2_H_ | |
5 #define DEBUGGER_CORE_DEBUG_API_MOCK2_H_ | |
6 #include <deque> | |
7 #include "debugger/core/debug_api_mock.h" | |
8 | |
9 namespace debug { | |
10 /// This class is a mock of DebugAPI, used in unit tests. | |
11 /// | |
12 class DebugAPIMock2 : public DebugAPIMock { | |
13 public: | |
14 DebugAPIMock2() {} | |
15 | |
16 virtual BOOL WaitForDebugEvent(LPDEBUG_EVENT lpDebugEvent, | |
17 DWORD dwMilliseconds); | |
18 | |
19 std::deque<DEBUG_EVENT> events_; | |
20 }; | |
21 } // namespace debug | |
22 | |
23 #endif // DEBUGGER_CORE_DEBUG_API_MOCK2_H_ | |
24 | |
OLD | NEW |