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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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

mercurial