106741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// Copyright (c) 2010 The Chromium Authors. All rights reserved. 206741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// Use of this source code is governed by a BSD-style license that can be 306741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// found in the LICENSE file. 406741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 506741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch#include "chrome/common/env_vars.h" 606741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 706741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochnamespace env_vars { 806741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 906741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// We call running in unattended mode (for automated testing) "headless". 1006741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// This mode can be enabled using this variable or by the kNoErrorDialogs 1106741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// switch. 1206741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kHeadless[] = "CHROME_HEADLESS"; 1306741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 1406741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// The name of the log file. 1506741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kLogFileName[] = "CHROME_LOG_FILE"; 1606741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 17513209b27ff55e2841eac0e4120199c23acce758Ben Murdoch// The name of the session log directory when logged in to ChromeOS. 18513209b27ff55e2841eac0e4120199c23acce758Ben Murdochconst char kSessionLogDir[] = "CHROMEOS_SESSION_LOG_DIR"; 19513209b27ff55e2841eac0e4120199c23acce758Ben Murdoch 2006741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// If this environment variable is set, Chrome on Windows will log 2106741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// to Event Tracing for Windows. 2206741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kEtwLogging[] = "CHROME_ETW_LOGGING"; 2306741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 2406741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// CHROME_CRASHED exists if a previous instance of chrome has crashed. This 2506741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// triggers the 'restart chrome' dialog. CHROME_RESTART contains the strings 2606741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// that are needed to show the dialog. 2706741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kShowRestart[] = "CHROME_CRASHED"; 2806741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kRestartInfo[] = "CHROME_RESTART"; 2906741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 3006741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction. 3106741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the 3206741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// dialog is displayed using the right orientation. 3306741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kRtlLocale[] = "RIGHT_TO_LEFT"; 3406741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kLtrLocale[] = "LEFT_TO_RIGHT"; 3506741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 3606741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// If the out-of-process breakpad could not be installed, we set this variable 3706741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// according to the process. 3806741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kNoOOBreakpad[] = "NO_OO_BREAKPAD"; 3906741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 4006741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch// Number of times to run a given startup_tests unit test. 4106741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdochconst char kStartupTestsNumCycles[] = "STARTUP_TESTS_NUMCYCLES"; 4206741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch 4306741cbc25cd4227a9fba40dfd0273bfcc1a587aBen Murdoch} // namespace env_vars 44