Chromium Code Reviews| Index: win8/delegate_execute/crash_server_init.h |
| diff --git a/win8/delegate_execute/crash_server_init.h b/win8/delegate_execute/crash_server_init.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d060b223a084106b1078f9f47f033e7116c78832 |
| --- /dev/null |
| +++ b/win8/delegate_execute/crash_server_init.h |
| @@ -0,0 +1,15 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
|
grt (UTC plus 2)
2012/11/21 19:27:50
2012
robertshield
2012/11/21 21:09:15
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_ |
| +#define WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_ |
| + |
| +#include "breakpad/src/client/windows/handler/exception_handler.h" |
|
grt (UTC plus 2)
2012/11/21 19:27:50
forward decl instead of include:
namespace google_
robertshield
2012/11/21 21:09:15
Done.
|
| + |
| +// Initializes breakpad crash reporting and returns a pointer to a newly |
|
grt (UTC plus 2)
2012/11/21 19:27:50
put this in the delegate_execute namespace.
robertshield
2012/11/21 21:09:15
Done.
|
| +// constructed ExceptionHandler object. It is the responsibility of the caller |
| +// to delete this object which will shut down the crash reporting machinery. |
| +google_breakpad::ExceptionHandler* InitializeCrashReporting(); |
| + |
| +#endif // WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_ |