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

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

Issue 2043933002: Move IPC fuzzer switches and helpers from chrome/common to content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 6 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
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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 // under moderate and critical memory pressure. Used in the browser process, 1041 // under moderate and critical memory pressure. Used in the browser process,
1042 // and ignored if invalid. Specified as a pair of comma separated integers. 1042 // and ignored if invalid. Specified as a pair of comma separated integers.
1043 // See base/win/memory_pressure_monitor.cc for defaults. 1043 // See base/win/memory_pressure_monitor.cc for defaults.
1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1044 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1045 1045
1046 // Enables the exporting of the tracing events to ETW. This is only supported on 1046 // Enables the exporting of the tracing events to ETW. This is only supported on
1047 // Windows Vista and later. 1047 // Windows Vista and later.
1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1048 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1049 #endif 1049 #endif
1050 1050
1051 #if defined(ENABLE_IPC_FUZZER)
1052 // Dumps IPC messages sent from renderer processes to the browser process to
1053 // the given directory. Used primarily to gather samples for IPC fuzzing.
1054 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1055
1056 // Specifies the testcase used by the IPC fuzzer.
1057 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1058 #endif
1059
1051 // Don't dump stuff here, follow the same order as the header. 1060 // Don't dump stuff here, follow the same order as the header.
1052 1061
1053 } // namespace switches 1062 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698