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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 // specified. | 1079 // specified. |
1080 const char kProfilingFlush[] = "profiling-flush"; | 1080 const char kProfilingFlush[] = "profiling-flush"; |
1081 | 1081 |
1082 // Specifies a custom URL for fetching NTP promo data. | 1082 // Specifies a custom URL for fetching NTP promo data. |
1083 const char kPromoServerURL[] = "promo-server-url"; | 1083 const char kPromoServerURL[] = "promo-server-url"; |
1084 | 1084 |
1085 // Should we prompt the user before allowing external extensions to install? | 1085 // Should we prompt the user before allowing external extensions to install? |
1086 // Default is yes. | 1086 // Default is yes. |
1087 const char kPromptForExternalExtensions[] = "prompt-for-external-extensions"; | 1087 const char kPromptForExternalExtensions[] = "prompt-for-external-extensions"; |
1088 | 1088 |
1089 // Enables the Protector feature. | |
1090 const char kProtector[] = "protector"; | |
1091 | |
1092 // Forces proxy auto-detection. | 1089 // Forces proxy auto-detection. |
1093 const char kProxyAutoDetect[] = "proxy-auto-detect"; | 1090 const char kProxyAutoDetect[] = "proxy-auto-detect"; |
1094 | 1091 |
1095 // Specifies a list of hosts for whom we bypass proxy settings and use direct | 1092 // Specifies a list of hosts for whom we bypass proxy settings and use direct |
1096 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also | 1093 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also |
1097 // specified. This is a comma-separated list of bypass rules. See: | 1094 // specified. This is a comma-separated list of bypass rules. See: |
1098 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. | 1095 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. |
1099 const char kProxyBypassList[] = "proxy-bypass-list"; | 1096 const char kProxyBypassList[] = "proxy-bypass-list"; |
1100 | 1097 |
1101 // Uses the pac script at the given URL | 1098 // Uses the pac script at the given URL |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1633 #elif defined(OS_WIN) | 1630 #elif defined(OS_WIN) |
1634 return CommandLine::ForCurrentProcess()->HasSwitch( | 1631 return CommandLine::ForCurrentProcess()->HasSwitch( |
1635 switches::kEnableChromeStyleDialogs); | 1632 switches::kEnableChromeStyleDialogs); |
1636 #else | 1633 #else |
1637 return CommandLine::ForCurrentProcess()->HasSwitch( | 1634 return CommandLine::ForCurrentProcess()->HasSwitch( |
1638 switches::kEnableChromeStyleDialogs); | 1635 switches::kEnableChromeStyleDialogs); |
1639 #endif | 1636 #endif |
1640 } | 1637 } |
1641 | 1638 |
1642 } // namespace chrome | 1639 } // namespace chrome |
OLD | NEW |