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

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

Issue 1387963006: Adding error handlers to setup.exe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix lint errors/warnings Created 5 years, 2 months 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
« no previous file with comments | « content/public/app/sandbox_helper_win.h ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_PUBLIC_APP_STARTUP_HELPER_WIN_H_
6 #define CONTENT_PUBLIC_APP_STARTUP_HELPER_WIN_H_
7
8 namespace base {
9 class CommandLine;
10 }
11
12 namespace sandbox {
13 struct SandboxInterfaceInfo;
14 }
15
16 // This file contains functions that any embedder that's not using ContentMain
17 // will want to call at startup.
18 // NOTE: we never want to CONTENT_EXPORT these functions, they must run in the
19 // same module that calls them.
20 namespace content {
21
22 // Initializes the sandbox code and turns on DEP. Note: This function
23 // must be *statically* linked into the executable (along with the static
24 // sandbox library); it will not work correctly if it is exported from a
25 // DLL and linked in.
26 void InitializeSandboxInfo(sandbox::SandboxInterfaceInfo* sandbox_info);
27
28 // Register the invalid param handler and pure call handler to be able to
29 // notify breakpad when it happens.
30 void RegisterInvalidParamHandler();
31
32 // Sets up the CRT's debugging macros to output to stdout.
33 void SetupCRT(const base::CommandLine& command_line);
34
35 } // namespace content
36
37 #endif // CONTENT_PUBLIC_APP_STARTUP_HELPER_WIN_H_
OLDNEW
« no previous file with comments | « content/public/app/sandbox_helper_win.h ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698