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

Unified Diff: chrome_frame/crash_reporting/crash_dll.h

Issue 3076042: Use Environment::SetVar in more places. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: rebased to ToT Created 10 years, 4 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/test/tab_switching/tab_switching_test.cc ('k') | chrome_frame/crash_reporting/crash_dll.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/crash_reporting/crash_dll.h
diff --git a/chrome_frame/crash_reporting/crash_dll.h b/chrome_frame/crash_reporting/crash_dll.h
index ca38e1559a2f3b1a06c5c7d2db5894f7dcac6d03..f87766fe36100ddd7af912ec095d624fde48ab45 100644
--- a/chrome_frame/crash_reporting/crash_dll.h
+++ b/chrome_frame/crash_reporting/crash_dll.h
@@ -1,14 +1,16 @@
// 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_
+
+#ifndef CHROME_FRAME_CRASH_REPORTING_CRASH_DLL_H_
+#define CHROME_FRAME_CRASH_REPORTING_CRASH_DLL_H_
+#pragma once
// Set either of these environment variables to
// crash at load or unload time, respectively.
-static const wchar_t* kCrashDllName = L"crash_dll.dll";
-static const wchar_t* kCrashOnLoadMode = L"CRASH_DLL_CRASH_ON_LOAD";
-static const wchar_t* kCrashOnUnloadMode = L"CRASH_DLL_CRASH_ON_UNLOAD";
+static const wchar_t kCrashDllName[] = L"crash_dll.dll";
+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_
+#endif // CHROME_FRAME_CRASH_REPORTING_CRASH_DLL_H_
« no previous file with comments | « chrome/test/tab_switching/tab_switching_test.cc ('k') | chrome_frame/crash_reporting/crash_dll.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698