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

Side by Side Diff: chrome/common/env_vars.cc

Issue 4194005: This moves log output for ChromeOS to safer locations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: upload after sync Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/env_vars.h" 5 #include "chrome/common/env_vars.h"
6 6
7 namespace env_vars { 7 namespace env_vars {
8 8
9 // We call running in unattended mode (for automated testing) "headless". 9 // We call running in unattended mode (for automated testing) "headless".
10 // This mode can be enabled using this variable or by the kNoErrorDialogs 10 // This mode can be enabled using this variable or by the kNoErrorDialogs
11 // switch. 11 // switch.
12 const char kHeadless[] = "CHROME_HEADLESS"; 12 const char kHeadless[] = "CHROME_HEADLESS";
13 13
14 // The name of the log file. 14 // The name of the log file.
15 const char kLogFileName[] = "CHROME_LOG_FILE"; 15 const char kLogFileName[] = "CHROME_LOG_FILE";
16 16
17 // The name of the session log directory when logged in to ChromeOS.
18 const char kSessionLogDir[] = "CHROMEOS_SESSION_LOG_DIR";
19
17 // If this environment variable is set, Chrome on Windows will log 20 // If this environment variable is set, Chrome on Windows will log
18 // to Event Tracing for Windows. 21 // to Event Tracing for Windows.
19 const char kEtwLogging[] = "CHROME_ETW_LOGGING"; 22 const char kEtwLogging[] = "CHROME_ETW_LOGGING";
20 23
21 // CHROME_CRASHED exists if a previous instance of chrome has crashed. This 24 // CHROME_CRASHED exists if a previous instance of chrome has crashed. This
22 // triggers the 'restart chrome' dialog. CHROME_RESTART contains the strings 25 // triggers the 'restart chrome' dialog. CHROME_RESTART contains the strings
23 // that are needed to show the dialog. 26 // that are needed to show the dialog.
24 const char kShowRestart[] = "CHROME_CRASHED"; 27 const char kShowRestart[] = "CHROME_CRASHED";
25 const char kRestartInfo[] = "CHROME_RESTART"; 28 const char kRestartInfo[] = "CHROME_RESTART";
26 29
27 // The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction. 30 // The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction.
28 // For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the 31 // For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the
29 // dialog is displayed using the right orientation. 32 // dialog is displayed using the right orientation.
30 const char kRtlLocale[] = "RIGHT_TO_LEFT"; 33 const char kRtlLocale[] = "RIGHT_TO_LEFT";
31 const char kLtrLocale[] = "LEFT_TO_RIGHT"; 34 const char kLtrLocale[] = "LEFT_TO_RIGHT";
32 35
33 // If the out-of-process breakpad could not be installed, we set this variable 36 // If the out-of-process breakpad could not be installed, we set this variable
34 // according to the process. 37 // according to the process.
35 const char kNoOOBreakpad[] = "NO_OO_BREAKPAD"; 38 const char kNoOOBreakpad[] = "NO_OO_BREAKPAD";
36 39
37 // Number of times to run a given startup_tests unit test. 40 // Number of times to run a given startup_tests unit test.
38 const char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES"; 41 const char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES";
39 42
40 } // namespace env_vars 43 } // namespace env_vars
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698