OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ | 5 #ifndef COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ |
6 #define COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ | 6 #define COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/message_loop/message_loop.h" | |
11 #include "base/process/process.h" | 10 #include "base/process/process.h" |
12 | 11 |
| 12 namespace base { |
| 13 class SingleThreadTaskRunner; |
| 14 } |
| 15 |
13 void NaClStartDebugExceptionHandlerThread( | 16 void NaClStartDebugExceptionHandlerThread( |
14 base::Process nacl_process, | 17 base::Process nacl_process, |
15 const std::string& startup_info, | 18 const std::string& startup_info, |
16 const scoped_refptr<base::MessageLoopProxy>& message_loop, | 19 scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
17 const base::Callback<void(bool)>& on_connected); | 20 const base::Callback<void(bool)>& on_connected); |
18 | 21 |
19 #endif // COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ | 22 #endif // COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ |
OLD | NEW |