Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/common/env_vars.h"
7 namespace env_vars {
9 // We call running in unattended mode (for automated testing) "headless".
10 // This mode can be enabled using this variable or by the kNoErrorDialogs
11 // switch.
12 const wchar_t kHeadless[] = L"CHROME_HEADLESS";
14 // The name of the log file.
15 const wchar_t kLogFileName[] = L"CHROME_LOG_FILE";
17 // CHROME_CRASHED exists if a previous instance of chrome has crashed. This
18 // triggers the 'restart chrome' dialog. CHROME_RESTART contains the strings
19 // that are needed to show the dialog.
20 const wchar_t kShowRestart[] = L"CHROME_CRASHED";
21 const wchar_t kRestartInfo[] = L"CHROME_RESTART";
23 // The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction.
24 // For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the
25 // dialog is displayed using the right orientation.
26 const wchar_t kRtlLocale[] = L"RIGHT_TO_LEFT";
27 const wchar_t kLtrLocale[] = L"LEFT_TO_RIGHT";
29 // If the out-of-process breakpad could not be installed, we set this variable
30 // according to the process.
31 const wchar_t kNoOOBreakpad[] = L"NO_OO_BREAKPAD";
33 } // namespace env_vars