summaryrefslogtreecommitdiffstats
path: root/chrome_frame/crash_reporting/crash_dll.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/crash_reporting/crash_dll.h')
-rw-r--r--chrome_frame/crash_reporting/crash_dll.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome_frame/crash_reporting/crash_dll.h b/chrome_frame/crash_reporting/crash_dll.h
new file mode 100644
index 0000000..ee4fafd
--- /dev/null
+++ b/chrome_frame/crash_reporting/crash_dll.h
@@ -0,0 +1,13 @@
+// Copyright (c) 2010 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 CHROME_FRAME_CRASH_REPORT_CRASH_DLL_H_
+#define CHROME_FRAME_CRASH_REPORT_CRASH_DLL_H_
+
+// Set either of these environment variables to
+// crash at load or unload time, respectively.
+static const wchar_t* kCrashOnLoadMode = L"CRASH_DLL_CRASH_ON_LOAD";
+static const wchar_t* kCrashOnUnloadMode = L"CRASH_DLL_CRASH_ON_UNLOAD";
+static const DWORD kCrashAddress = 0x42;
+
+#endif // CHROME_FRAME_CRASH_REPORT_CRASH_DLL_H_