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

Side by Side Diff: content/public/common/content_switches.cc

Issue 1783693004: Add a command-line switch to disable in-process stack traces (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 9 months 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 | « content/public/common/content_switches.h ('k') | no next file » | 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // during fast scrolling especially on slower devices. 174 // during fast scrolling especially on slower devices.
175 const char kDisableLowResTiling[] = "disable-low-res-tiling"; 175 const char kDisableLowResTiling[] = "disable-low-res-tiling";
176 176
177 // Disable the GPU process sandbox. 177 // Disable the GPU process sandbox.
178 const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; 178 const char kDisableGpuSandbox[] = "disable-gpu-sandbox";
179 179
180 // Disable the thread that crashes the GPU process if it stops responding to 180 // Disable the thread that crashes the GPU process if it stops responding to
181 // messages. 181 // messages.
182 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; 182 const char kDisableGpuWatchdog[] = "disable-gpu-watchdog";
183 183
184 // Disable in-process stack traces.
185 const char kDisableInProcessStackTraces[] = "disable-in-process-stack-traces";
186
184 // Suppresses hang monitor dialogs in renderer processes. This may allow slow 187 // Suppresses hang monitor dialogs in renderer processes. This may allow slow
185 // unload handlers on a page to prevent the tab from closing, but the Task 188 // unload handlers on a page to prevent the tab from closing, but the Task
186 // Manager can be used to terminate the offending process in this case. 189 // Manager can be used to terminate the offending process in this case.
187 const char kDisableHangMonitor[] = "disable-hang-monitor"; 190 const char kDisableHangMonitor[] = "disable-hang-monitor";
188 191
189 // Disable hiding the close buttons of inactive tabs when the tabstrip is in 192 // Disable hiding the close buttons of inactive tabs when the tabstrip is in
190 // stacked mode. 193 // stacked mode.
191 const char kDisableHideInactiveStackedTabCloseButtons[] = 194 const char kDisableHideInactiveStackedTabCloseButtons[] =
192 "disable-hide-inactive-stacked-tab-close-buttons"; 195 "disable-hide-inactive-stacked-tab-close-buttons";
193 196
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1041 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1039 1042
1040 // Enables the exporting of the tracing events to ETW. This is only supported on 1043 // Enables the exporting of the tracing events to ETW. This is only supported on
1041 // Windows Vista and later. 1044 // Windows Vista and later.
1042 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1045 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1043 #endif 1046 #endif
1044 1047
1045 // Don't dump stuff here, follow the same order as the header. 1048 // Don't dump stuff here, follow the same order as the header.
1046 1049
1047 } // namespace switches 1050 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698