Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Side by Side Diff: base/base_switches.cc

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/base_switches.h ('k') | base/chromeos/memory_pressure_observer_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/base_switches.h" 5 #include "base/base_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Disables the crash reporting. 9 // Disables the crash reporting.
10 const char kDisableBreakpad[] = "disable-breakpad"; 10 const char kDisableBreakpad[] = "disable-breakpad";
11 11
12 // Indicates that crash reporting should be enabled. On platforms where helper 12 // Indicates that crash reporting should be enabled. On platforms where helper
13 // processes cannot access to files needed to make this decision, this flag is 13 // processes cannot access to files needed to make this decision, this flag is
14 // generated internally. 14 // generated internally.
15 const char kEnableCrashReporter[] = "enable-crash-reporter"; 15 const char kEnableCrashReporter[] = "enable-crash-reporter";
16 16
17 // Generates full memory crash dump. 17 // Generates full memory crash dump.
18 const char kFullMemoryCrashReport[] = "full-memory-crash-report"; 18 const char kFullMemoryCrashReport[] = "full-memory-crash-report";
19 19
20 // Force low-end device when set to 1; 20 // Force low-end device mode when set.
21 // Auto-detect low-end device when set to 2; 21 const char kEnableLowEndDeviceMode[] = "enable-low-end-device-mode";
22 // Force non-low-end device when set to other values or empty; 22
23 const char kLowEndDeviceMode[] = "low-end-device-mode"; 23 // Force disabling of low-end device mode when set.
24 const char kDisableLowEndDeviceMode[] = "disable-low-end-device-mode";
24 25
25 // Suppresses all error dialogs when present. 26 // Suppresses all error dialogs when present.
26 const char kNoErrorDialogs[] = "noerrdialogs"; 27 const char kNoErrorDialogs[] = "noerrdialogs";
27 28
28 // When running certain tests that spawn child processes, this switch indicates 29 // When running certain tests that spawn child processes, this switch indicates
29 // to the test framework that the current process is a child process. 30 // to the test framework that the current process is a child process.
30 const char kTestChildProcess[] = "test-child-process"; 31 const char kTestChildProcess[] = "test-child-process";
31 32
32 // Gives the default maximal active V-logging level; 0 is the default. 33 // Gives the default maximal active V-logging level; 0 is the default.
33 // Normally positive values are used for V-logging levels. 34 // Normally positive values are used for V-logging levels.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const char kProfilerTimingDisabledValue[] = "0"; 68 const char kProfilerTimingDisabledValue[] = "0";
68 69
69 #if defined(OS_POSIX) 70 #if defined(OS_POSIX)
70 // Used for turning on Breakpad crash reporting in a debug environment where 71 // Used for turning on Breakpad crash reporting in a debug environment where
71 // crash reporting is typically compiled but disabled. 72 // crash reporting is typically compiled but disabled.
72 const char kEnableCrashReporterForTesting[] = 73 const char kEnableCrashReporterForTesting[] =
73 "enable-crash-reporter-for-testing"; 74 "enable-crash-reporter-for-testing";
74 #endif 75 #endif
75 76
76 } // namespace switches 77 } // namespace switches
OLDNEW
« no previous file with comments | « base/base_switches.h ('k') | base/chromeos/memory_pressure_observer_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698