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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1075 // specified. | 1075 // specified. |
1076 const char kProfilingFlush[] = "profiling-flush"; | 1076 const char kProfilingFlush[] = "profiling-flush"; |
1077 | 1077 |
1078 // Specifies a custom URL for fetching NTP promo data. | 1078 // Specifies a custom URL for fetching NTP promo data. |
1079 const char kPromoServerURL[] = "promo-server-url"; | 1079 const char kPromoServerURL[] = "promo-server-url"; |
1080 | 1080 |
1081 // Should we prompt the user before allowing external extensions to install? | 1081 // Should we prompt the user before allowing external extensions to install? |
1082 // Default is yes. | 1082 // Default is yes. |
1083 const char kPromptForExternalExtensions[] = "prompt-for-external-extensions"; | 1083 const char kPromptForExternalExtensions[] = "prompt-for-external-extensions"; |
1084 | 1084 |
1085 // Enables the Protector feature. | |
1086 const char kProtector[] = "protector"; | |
1087 | |
1088 // Forces proxy auto-detection. | 1085 // Forces proxy auto-detection. |
1089 const char kProxyAutoDetect[] = "proxy-auto-detect"; | 1086 const char kProxyAutoDetect[] = "proxy-auto-detect"; |
1090 | 1087 |
1091 // Specifies a list of hosts for whom we bypass proxy settings and use direct | 1088 // Specifies a list of hosts for whom we bypass proxy settings and use direct |
1092 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also | 1089 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also |
1093 // specified. This is a comma-separated list of bypass rules. See: | 1090 // specified. This is a comma-separated list of bypass rules. See: |
1094 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. | 1091 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. |
1095 const char kProxyBypassList[] = "proxy-bypass-list"; | 1092 const char kProxyBypassList[] = "proxy-bypass-list"; |
1096 | 1093 |
1097 // Uses the pac script at the given URL | 1094 // Uses the pac script at the given URL |
(...skipping 535 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 |