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 |
917 // On POSIX only: the contents of this flag are prepended to the utility | 920 // On POSIX only: the contents of this flag are prepended to the utility |
918 // process command line. Useful values might be "valgrind" or "xterm -e gdb | 921 // process command line. Useful values might be "valgrind" or "xterm -e gdb |
919 // --args". | 922 // --args". |
920 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 923 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
921 | 924 |
922 // Causes the process to run as a utility subprocess. | 925 // Causes the process to run as a utility subprocess. |
923 const char kUtilityProcess[] = "utility"; | 926 const char kUtilityProcess[] = "utility"; |
924 | 927 |
925 // The utility process is sandboxed, with access to one directory. This flag | 928 // The utility process is sandboxed, with access to one directory. This flag |
926 // specifies the directory that can be accessed. | 929 // specifies the directory that can be accessed. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 #endif | 1042 #endif |
1040 | 1043 |
1041 #if defined(OS_POSIX) | 1044 #if defined(OS_POSIX) |
1042 // Causes the child processes to cleanly exit via calling exit(). | 1045 // Causes the child processes to cleanly exit via calling exit(). |
1043 const char kChildCleanExit[] = "child-clean-exit"; | 1046 const char kChildCleanExit[] = "child-clean-exit"; |
1044 #endif | 1047 #endif |
1045 | 1048 |
1046 // Don't dump stuff here, follow the same order as the header. | 1049 // Don't dump stuff here, follow the same order as the header. |
1047 | 1050 |
1048 } // namespace switches | 1051 } // namespace switches |
OLD | NEW |