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

Unified Diff: content/app/startup_helper_win.h

Issue 8233039: Link startup_helper_win statically into executables (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove dynamic-only changes Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/content_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/startup_helper_win.h
diff --git a/content/app/startup_helper_win.h b/content/app/startup_helper_win.h
index b870798b99203a1dd9359c0c60ccb48b158a5a1a..e20b638fb6c9f145f948753c7bd75eefadab6fc8 100644
--- a/content/app/startup_helper_win.h
+++ b/content/app/startup_helper_win.h
@@ -6,8 +6,6 @@
#define CONTENT_APP_STARTUP_HELPER_WIN_H_
#pragma once
-#include "content/common/content_export.h"
-
class CommandLine;
namespace sandbox {
@@ -18,9 +16,11 @@ struct SandboxInterfaceInfo;
// will want to call at startup.
namespace content {
-// Initializes the sandbox code and turns on DEP.
-CONTENT_EXPORT void InitializeSandboxInfo(
- sandbox::SandboxInterfaceInfo* sandbox_info);
+// Initializes the sandbox code and turns on DEP. Note: This function
+// must be *statically* linked into the executable (along with the static
+// sandbox library); it will not work correctly if it is exported from a
+// DLL and linked in.
+void InitializeSandboxInfo(sandbox::SandboxInterfaceInfo* sandbox_info);
// Register the invalid param handler and pure call handler to be able to
// notify breakpad when it happens.
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698