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/process/process.h" | 10 #include "base/process/process.h" |
| 11 #include "base/single_thread_task_runner.h" |
11 | 12 |
12 namespace base { | 13 namespace base { |
13 class SingleThreadTaskRunner; | 14 class SingleThreadTaskRunner; |
14 } | 15 } |
15 | 16 |
16 void NaClStartDebugExceptionHandlerThread( | 17 void NaClStartDebugExceptionHandlerThread( |
17 base::Process nacl_process, | 18 base::Process nacl_process, |
18 const std::string& startup_info, | 19 const std::string& startup_info, |
19 scoped_refptr<base::SingleThreadTaskRunner> task_runner, | 20 scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
20 const base::Callback<void(bool)>& on_connected); | 21 const base::Callback<void(bool)>& on_connected); |
21 | 22 |
22 #endif // COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ | 23 #endif // COMPONENTS_NACL_COMMON_NACL_DEBUG_EXCEPTION_HANDLER_WIN_H_ |
OLD | NEW |