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

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

Issue 18254010: IPC fuzzer child process component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: replace ShouldKillChildProcessOnBadMessage with --disable-kill-after-bad-ipc Created 7 years, 3 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 | Annotate | Revision Log
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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Disable the use of an ImageTransportSurface. This means the GPU process 194 // Disable the use of an ImageTransportSurface. This means the GPU process
195 // will present the rendered page rather than the browser process. 195 // will present the rendered page rather than the browser process.
196 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; 196 const char kDisableImageTransportSurface[] = "disable-image-transport-surface";
197 197
198 // Prevent Java from running. 198 // Prevent Java from running.
199 const char kDisableJava[] = "disable-java"; 199 const char kDisableJava[] = "disable-java";
200 200
201 // Don't execute JavaScript (browser JS like the new tab page still runs). 201 // Don't execute JavaScript (browser JS like the new tab page still runs).
202 const char kDisableJavaScript[] = "disable-javascript"; 202 const char kDisableJavaScript[] = "disable-javascript";
203 203
204 // Don't kill a child process when it sends a bad IPC message. Apart
205 // from testing, it is a bad idea from a security perspective to enable
206 // this switch.
207 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc";
208
204 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). 209 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()).
205 const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media"; 210 const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media";
206 211
207 // Disable LocalStorage. 212 // Disable LocalStorage.
208 const char kDisableLocalStorage[] = "disable-local-storage"; 213 const char kDisableLocalStorage[] = "disable-local-storage";
209 214
210 // Force logging to be disabled. Logging is enabled by default in debug 215 // Force logging to be disabled. Logging is enabled by default in debug
211 // builds. 216 // builds.
212 const char kDisableLogging[] = "disable-logging"; 217 const char kDisableLogging[] = "disable-logging";
213 218
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 #endif 939 #endif
935 940
936 #if defined(USE_AURA) 941 #if defined(USE_AURA)
937 // Forces usage of the test compositor. Needed to run ui tests on bots. 942 // Forces usage of the test compositor. Needed to run ui tests on bots.
938 extern const char kTestCompositor[] = "test-compositor"; 943 extern const char kTestCompositor[] = "test-compositor";
939 #endif 944 #endif
940 945
941 // Don't dump stuff here, follow the same order as the header. 946 // Don't dump stuff here, follow the same order as the header.
942 947
943 } // namespace switches 948 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698