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