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

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

Issue 7888024: Move handle dumpage to the renderer process (so that it works correctly) and factor out redundant... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « content/common/content_switches.h ('k') | content/common/handle_enumerator_win.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common/content_switches.h" 5 #include "content/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.
11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; 11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files";
12 12
13 // By default, an https page cannot run JavaScript, CSS or plug-ins from http 13 // By default, an https page cannot run JavaScript, CSS or plug-ins from http
14 // URLs. This provides an override to get the old insecure behavior. 14 // URLs. This provides an override to get the old insecure behavior.
15 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 15 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
16 16
17 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). 17 // Allows debugging of sandboxed processes (see zygote_main_linux.cc).
18 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; 18 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging";
19 19
20 // Enumerates and prints a child process' most dangerous handles when it
21 // is terminated.
22 const char kAuditHandles[] = "enable-handle-auditing";
23
24 // The same as kAuditHandles except all handles are enumerated.
25 const char kAuditAllHandles[] = "enable-handle-auditing-all";
26
20 // Causes the browser process to throw an assertion on startup. 27 // Causes the browser process to throw an assertion on startup.
21 const char kBrowserAssertTest[] = "assert-test"; 28 const char kBrowserAssertTest[] = "assert-test";
22 29
23 // Causes the browser process to crash on startup. 30 // Causes the browser process to crash on startup.
24 const char kBrowserCrashTest[] = "crash-test"; 31 const char kBrowserCrashTest[] = "crash-test";
25 32
26 // Path to the exe to run for the renderer and plugin subprocesses. 33 // Path to the exe to run for the renderer and plugin subprocesses.
27 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 34 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
28 35
29 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run 36 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 486
480 // Causes the process to run as a worker subprocess. 487 // Causes the process to run as a worker subprocess.
481 const char kWorkerProcess[] = "worker"; 488 const char kWorkerProcess[] = "worker";
482 489
483 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 490 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
484 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 491 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
485 492
486 // Causes the process to run as a renderer zygote. 493 // Causes the process to run as a renderer zygote.
487 const char kZygoteProcess[] = "zygote"; 494 const char kZygoteProcess[] = "zygote";
488 495
489 #if defined(OS_WIN)
490 // Enumerates and prints a child process' most dangerous handles when it
491 // is terminated.
492 const char kAuditHandles[] = "enable-handle-auditing";
493
494 // The same as kAuditHandles except all handles are enumerated.
495 const char kAuditAllHandles[] = "enable-handle-auditing-all";
496 #endif
497
498 #if defined(OS_POSIX) && !defined(OS_MACOSX) 496 #if defined(OS_POSIX) && !defined(OS_MACOSX)
499 // Specify the amount the trackpad should scroll by. 497 // Specify the amount the trackpad should scroll by.
500 const char kScrollPixels[] = "scroll-pixels"; 498 const char kScrollPixels[] = "scroll-pixels";
501 #endif 499 #endif
502 500
503 #if defined(OS_MACOSX) || defined(OS_WIN) 501 #if defined(OS_MACOSX) || defined(OS_WIN)
504 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) 502 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows)
505 // instead of NSS for SSL. 503 // instead of NSS for SSL.
506 const char kUseSystemSSL[] = "use-system-ssl"; 504 const char kUseSystemSSL[] = "use-system-ssl";
507 #endif 505 #endif
508 506
509 #if !defined(OFFICIAL_BUILD) 507 #if !defined(OFFICIAL_BUILD)
510 // Causes the renderer process to throw an assertion on launch. 508 // Causes the renderer process to throw an assertion on launch.
511 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 509 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
512 #endif 510 #endif
513 511
514 } // namespace switches 512 } // namespace switches
OLDNEW
« no previous file with comments | « content/common/content_switches.h ('k') | content/common/handle_enumerator_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698