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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial