Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: content/app/startup_helper_win.h

Issue 8414020: Expose the sandbox related code through the content API. I did a bit of cleanup while I was doing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_APP_STARTUP_HELPER_WIN_H_
6 #define CONTENT_APP_STARTUP_HELPER_WIN_H_
7 #pragma once
8
9 class CommandLine;
10
11 namespace sandbox {
12 struct SandboxInterfaceInfo;
13 }
14
15 // This file contains functions that any embedder that's not using ContentMain
16 // will want to call at startup.
17 namespace content {
18
19 // Initializes the sandbox code and turns on DEP. Note: This function
20 // must be *statically* linked into the executable (along with the static
21 // sandbox library); it will not work correctly if it is exported from a
22 // DLL and linked in.
23 void InitializeSandboxInfo(sandbox::SandboxInterfaceInfo* sandbox_info);
24
25 // Register the invalid param handler and pure call handler to be able to
26 // notify breakpad when it happens.
27 void RegisterInvalidParamHandler();
28
29 // Sets up the CRT's debugging macros to output to stdout.
30 void SetupCRT(const CommandLine& command_line);
31
32 } // namespace content
33
34 #endif // CONTENT_APP_STARTUP_HELPER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698