Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 10298012: [protector] Disable the UI by default, flip --no-protector to --protector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/functional/protector.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 // Starts the browser outside of managed mode. 889 // Starts the browser outside of managed mode.
890 const char kNoManaged[] = "no-managed"; 890 const char kNoManaged[] = "no-managed";
891 891
892 // Whether or not the browser should warn if the profile is on a network share. 892 // Whether or not the browser should warn if the profile is on a network share.
893 // This flag is only relevant for Windows currently. 893 // This flag is only relevant for Windows currently.
894 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; 894 const char kNoNetworkProfileWarning[] = "no-network-profile-warning";
895 895
896 // Don't send hyperlink auditing pings 896 // Don't send hyperlink auditing pings
897 const char kNoPings[] = "no-pings"; 897 const char kNoPings[] = "no-pings";
898 898
899 // Disables the Protector feature.
900 const char kNoProtector[] = "no-protector";
901
902 // Don't use a proxy server, always make direct connections. Overrides any 899 // Don't use a proxy server, always make direct connections. Overrides any
903 // other proxy server flags that are passed. 900 // other proxy server flags that are passed.
904 const char kNoProxyServer[] = "no-proxy-server"; 901 const char kNoProxyServer[] = "no-proxy-server";
905 902
906 // Stronger version of insecure content blocking, for the case where the 903 // Stronger version of insecure content blocking, for the case where the
907 // blocking would only be applied to a whitelist of domains. Switch is expected 904 // blocking would only be applied to a whitelist of domains. Switch is expected
908 // to become obsolete once the whitelist goes away. 905 // to become obsolete once the whitelist goes away.
909 const char kNoRunningInsecureContent[] = "no-running-insecure-content"; 906 const char kNoRunningInsecureContent[] = "no-running-insecure-content";
910 907
911 // Disables the service process from adding itself as an autorun process. This 908 // Disables the service process from adding itself as an autorun process. This
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1038 1035
1039 // Controls whether profile data is periodically flushed to a file. Normally 1036 // Controls whether profile data is periodically flushed to a file. Normally
1040 // the data gets written on exit but cases exist where chrome doesn't exit 1037 // the data gets written on exit but cases exist where chrome doesn't exit
1041 // cleanly (especially when using single-process). A time in seconds can be 1038 // cleanly (especially when using single-process). A time in seconds can be
1042 // specified. 1039 // specified.
1043 const char kProfilingFlush[] = "profiling-flush"; 1040 const char kProfilingFlush[] = "profiling-flush";
1044 1041
1045 // Specifies a custom URL for fetching NTP promo data. 1042 // Specifies a custom URL for fetching NTP promo data.
1046 const char kPromoServerURL[] = "promo-server-url"; 1043 const char kPromoServerURL[] = "promo-server-url";
1047 1044
1045 // Enables the Protector feature.
1046 const char kProtector[] = "protector";
1047
1048 // Forces proxy auto-detection. 1048 // Forces proxy auto-detection.
1049 const char kProxyAutoDetect[] = "proxy-auto-detect"; 1049 const char kProxyAutoDetect[] = "proxy-auto-detect";
1050 1050
1051 // Specifies a list of hosts for whom we bypass proxy settings and use direct 1051 // Specifies a list of hosts for whom we bypass proxy settings and use direct
1052 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also 1052 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also
1053 // specified. This is a comma-separated list of bypass rules. See: 1053 // specified. This is a comma-separated list of bypass rules. See:
1054 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. 1054 // "net/proxy/proxy_bypass_rules.h" for the format of these rules.
1055 const char kProxyBypassList[] = "proxy-bypass-list"; 1055 const char kProxyBypassList[] = "proxy-bypass-list";
1056 1056
1057 // Uses the pac script at the given URL 1057 // Uses the pac script at the given URL
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 1423
1424 // ----------------------------------------------------------------------------- 1424 // -----------------------------------------------------------------------------
1425 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1425 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1426 // 1426 //
1427 // You were going to just dump your switches here, weren't you? Instead, please 1427 // You were going to just dump your switches here, weren't you? Instead, please
1428 // put them in alphabetical order above, or in order inside the appropriate 1428 // put them in alphabetical order above, or in order inside the appropriate
1429 // ifdef at the bottom. The order should match the header. 1429 // ifdef at the bottom. The order should match the header.
1430 // ----------------------------------------------------------------------------- 1430 // -----------------------------------------------------------------------------
1431 1431
1432 } // namespace switches 1432 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/functional/protector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698