OLD | NEW |
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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 // Use fake device for MediaStream to replace actual camera and microphone. | 907 // Use fake device for MediaStream to replace actual camera and microphone. |
908 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 908 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
909 | 909 |
910 // Bypass the media stream infobar by selecting the default device for media | 910 // Bypass the media stream infobar by selecting the default device for media |
911 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 911 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
912 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 912 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
913 | 913 |
914 // Set when Chromium should use a mobile user agent. | 914 // Set when Chromium should use a mobile user agent. |
915 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; | 915 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; |
916 | 916 |
917 // A string used to override the default user agent with a custom one. | |
918 const char kUserAgent[] = "user-agent"; | |
919 | |
920 // On POSIX only: the contents of this flag are prepended to the utility | 917 // On POSIX only: the contents of this flag are prepended to the utility |
921 // process command line. Useful values might be "valgrind" or "xterm -e gdb | 918 // process command line. Useful values might be "valgrind" or "xterm -e gdb |
922 // --args". | 919 // --args". |
923 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 920 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
924 | 921 |
925 // Causes the process to run as a utility subprocess. | 922 // Causes the process to run as a utility subprocess. |
926 const char kUtilityProcess[] = "utility"; | 923 const char kUtilityProcess[] = "utility"; |
927 | 924 |
928 // The utility process is sandboxed, with access to one directory. This flag | 925 // The utility process is sandboxed, with access to one directory. This flag |
929 // specifies the directory that can be accessed. | 926 // specifies the directory that can be accessed. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 #endif | 1039 #endif |
1043 | 1040 |
1044 #if defined(OS_POSIX) | 1041 #if defined(OS_POSIX) |
1045 // Causes the child processes to cleanly exit via calling exit(). | 1042 // Causes the child processes to cleanly exit via calling exit(). |
1046 const char kChildCleanExit[] = "child-clean-exit"; | 1043 const char kChildCleanExit[] = "child-clean-exit"; |
1047 #endif | 1044 #endif |
1048 | 1045 |
1049 // Don't dump stuff here, follow the same order as the header. | 1046 // Don't dump stuff here, follow the same order as the header. |
1050 | 1047 |
1051 } // namespace switches | 1048 } // namespace switches |
OLD | NEW |