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

Unified Diff: chrome_frame/crash_reporting/crash_dll.h

Issue 882001: Utility functions to interact with the NT loader's data structures and associ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 | chrome_frame/crash_reporting/crash_dll.cc » ('j') | chrome_frame/crash_reporting/nt_loader.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/crash_reporting/crash_dll.h
===================================================================
--- chrome_frame/crash_reporting/crash_dll.h (revision 0)
+++ chrome_frame/crash_reporting/crash_dll.h (revision 0)
@@ -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";
amit 2010/03/11 16:08:51 nit: declspec(SELECTANY) or definitions in .cc?
Sigurður Ásgeirsson 2010/03/11 16:16:35 The static declaration serves the same purpose as
+static const wchar_t* kCrashOnUnloadMode = L"CRASH_DLL_CRASH_ON_UNLOAD";
+static const DWORD kCrashAddress = 0x42;
+
+#endif // CHROME_FRAME_CRASH_REPORT_CRASH_DLL_H_
Property changes on: chrome_frame\crash_reporting\crash_dll.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | chrome_frame/crash_reporting/crash_dll.cc » ('j') | chrome_frame/crash_reporting/nt_loader.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698