1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ipc/chromium/src/chrome/common/env_vars.cc Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1.5 +// Use of this source code is governed by a BSD-style license that can be 1.6 +// found in the LICENSE file. 1.7 + 1.8 +#include "chrome/common/env_vars.h" 1.9 + 1.10 +namespace env_vars { 1.11 + 1.12 +// We call running in unattended mode (for automated testing) "headless". 1.13 +// This mode can be enabled using this variable or by the kNoErrorDialogs 1.14 +// switch. 1.15 +const wchar_t kHeadless[] = L"CHROME_HEADLESS"; 1.16 + 1.17 +// The name of the log file. 1.18 +const wchar_t kLogFileName[] = L"CHROME_LOG_FILE"; 1.19 + 1.20 +// CHROME_CRASHED exists if a previous instance of chrome has crashed. This 1.21 +// triggers the 'restart chrome' dialog. CHROME_RESTART contains the strings 1.22 +// that are needed to show the dialog. 1.23 +const wchar_t kShowRestart[] = L"CHROME_CRASHED"; 1.24 +const wchar_t kRestartInfo[] = L"CHROME_RESTART"; 1.25 + 1.26 +// The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction. 1.27 +// For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the 1.28 +// dialog is displayed using the right orientation. 1.29 +const wchar_t kRtlLocale[] = L"RIGHT_TO_LEFT"; 1.30 +const wchar_t kLtrLocale[] = L"LEFT_TO_RIGHT"; 1.31 + 1.32 +// If the out-of-process breakpad could not be installed, we set this variable 1.33 +// according to the process. 1.34 +const wchar_t kNoOOBreakpad[] = L"NO_OO_BREAKPAD"; 1.35 + 1.36 +} // namespace env_vars