OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_APP_SANDBOX_HELPER_WIN_H_ | 5 #ifndef CONTENT_APP_STARTUP_HELPER_WIN_H_ |
6 #define CONTENT_APP_SANDBOX_HELPER_WIN_H_ | 6 #define CONTENT_APP_STARTUP_HELPER_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 class CommandLine; |
| 10 |
9 namespace sandbox { | 11 namespace sandbox { |
10 struct SandboxInterfaceInfo; | 12 struct SandboxInterfaceInfo; |
11 } | 13 } |
12 | 14 |
| 15 // This file contains functions that any embedder that's not using ContentMain |
| 16 // will want to call at startup. |
13 namespace content { | 17 namespace content { |
14 | 18 |
15 // Initializes the sandbox code and turns on DEP. | 19 // Initializes the sandbox code and turns on DEP. |
16 void InitializeSandboxInfo(sandbox::SandboxInterfaceInfo* sandbox_info); | 20 void InitializeSandboxInfo(sandbox::SandboxInterfaceInfo* sandbox_info); |
17 | 21 |
| 22 // Register the invalid param handler and pure call handler to be able to |
| 23 // notify breakpad when it happens. |
| 24 void RegisterInvalidParamHandler(); |
| 25 |
| 26 // Sets up the CRT's debugging macros to output to stdout. |
| 27 void SetupCRT(const CommandLine& command_line); |
| 28 |
18 } // namespace content | 29 } // namespace content |
19 | 30 |
20 #endif // CONTENT_APP_SANDBOX_HELPER_WIN_H_ | 31 #endif // CONTENT_APP_STARTUP_HELPER_WIN_H_ |
OLD | NEW |