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

Unified Diff: base/win/dllmain.h

Issue 9803002: [windows] Make calls to exit(), _exit(), abort(), and ExitProcess() from the renderer process resul… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « no previous file | base/win/dllmain.cc » ('j') | base/win/dllmain.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/dllmain.h
diff --git a/base/win/dllmain.h b/base/win/dllmain.h
new file mode 100644
index 0000000000000000000000000000000000000000..adc9f9aba267eda4b1663549b1ae4392c7a62e3c
--- /dev/null
+++ b/base/win/dllmain.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BASE_WIN_DLLMAIN_H_
+#define BASE_WIN_DLLMAIN_H_
rvargas (doing something else) 2012/03/21 03:13:45 This file should be added to base.gyp. (or some fo
+
+namespace base {
+namespace win {
+
+// Sets whether to crash the process during exit. This is used to intercept
+// unexpected terminations of the process (via calls to exit(), abort(),
+// _exit(), ExitProcess()), and convert them into crashes. Note that not all
+// mechanisms for terminating the process are covered by this. For instance,
+// TerminateProcess() is not caught.
+void DLLMain_SetCrashOnProcessDetach(bool crash);
+
+} // namespace win
+} // namespace base
+
+#endif // BASE_WIN_DLLMAIN_H_
« no previous file with comments | « no previous file | base/win/dllmain.cc » ('j') | base/win/dllmain.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698