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

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

Issue 10638010: Undo the startup_helper_win.h change in r143501 because that breaks the sandbox in component builds. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « content/content_tests.gypi ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PUBLIC_APP_STARTUP_HELPER_WIN_H_ 5 #ifndef CONTENT_PUBLIC_APP_STARTUP_HELPER_WIN_H_
6 #define CONTENT_PUBLIC_APP_STARTUP_HELPER_WIN_H_ 6 #define CONTENT_PUBLIC_APP_STARTUP_HELPER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_export.h"
10
11 class CommandLine; 9 class CommandLine;
12 10
13 namespace sandbox { 11 namespace sandbox {
14 struct SandboxInterfaceInfo; 12 struct SandboxInterfaceInfo;
15 } 13 }
16 14
17 // This file contains functions that any embedder that's not using ContentMain 15 // This file contains functions that any embedder that's not using ContentMain
18 // will want to call at startup. 16 // will want to call at startup.
17 // NOTE: we never want to CONTENT_EXPORT these functions, they must run in the
18 // same module that calls them.
19 namespace content { 19 namespace content {
20 20
21 // Initializes the sandbox code and turns on DEP. Note: This function 21 // Initializes the sandbox code and turns on DEP. Note: This function
22 // must be *statically* linked into the executable (along with the static 22 // must be *statically* linked into the executable (along with the static
23 // sandbox library); it will not work correctly if it is exported from a 23 // sandbox library); it will not work correctly if it is exported from a
24 // DLL and linked in. 24 // DLL and linked in.
25 CONTENT_EXPORT void InitializeSandboxInfo( 25 void InitializeSandboxInfo(
26 sandbox::SandboxInterfaceInfo* sandbox_info); 26 sandbox::SandboxInterfaceInfo* sandbox_info);
27 27
28 // Register the invalid param handler and pure call handler to be able to 28 // Register the invalid param handler and pure call handler to be able to
29 // notify breakpad when it happens. 29 // notify breakpad when it happens.
30 void RegisterInvalidParamHandler(); 30 void RegisterInvalidParamHandler();
31 31
32 // Sets up the CRT's debugging macros to output to stdout. 32 // Sets up the CRT's debugging macros to output to stdout.
33 void SetupCRT(const CommandLine& command_line); 33 void SetupCRT(const CommandLine& command_line);
34 34
35 } // namespace content 35 } // namespace content
36 36
37 #endif // CONTENT_PUBLIC_APP_STARTUP_HELPER_WIN_H_ 37 #endif // CONTENT_PUBLIC_APP_STARTUP_HELPER_WIN_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698