ipc/chromium/src/chrome/common/env_vars.cc

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:1f3b62fd8edb
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.
4
5 #include "chrome/common/env_vars.h"
6
7 namespace env_vars {
8
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";
13
14 // The name of the log file.
15 const wchar_t kLogFileName[] = L"CHROME_LOG_FILE";
16
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";
22
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";
28
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";
32
33 } // namespace env_vars

mercurial