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

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

Issue 8632014: Enable protector by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 694
695 // Performs importing from another browser. The value associated with this 695 // Performs importing from another browser. The value associated with this
696 // setting encodes the target browser and what items to import. 696 // setting encodes the target browser and what items to import.
697 const char kImport[] = "import"; 697 const char kImport[] = "import";
698 698
699 // Performs bookmark importing from an HTML file. The value associated with 699 // Performs bookmark importing from an HTML file. The value associated with
700 // this setting encodes the file path. It may be used jointly with kImport. 700 // this setting encodes the file path. It may be used jointly with kImport.
701 const char kImportFromFile[] = "import-from-file"; 701 const char kImportFromFile[] = "import-from-file";
702 702
703 // Causes the browser to launch directly in incognito mode. 703 // Causes the browser to launch directly in incognito mode.
704 const char kIncognito[] = "incognito"; 704 const char kIncognito[] = "incognito";
Ivan Korotkov 2011/11/22 18:14:12 Return these spaces back please :)
705 705
706 // Controls the Instant field trial. Valid values are defined below. If an 706 // Controls the Instant field trial. Valid values are defined below. If an
707 // unknown value is supplied on the command line, the field trial is disabled. 707 // unknown value is supplied on the command line, the field trial is disabled.
708 const char kInstantFieldTrial[] = "instant-field-trial"; 708 const char kInstantFieldTrial[] = "instant-field-trial";
709 // The field trial is forced into the HIDDEN_EXPERIMENT group. 709 // The field trial is forced into the HIDDEN_EXPERIMENT group.
710 const char kInstantFieldTrialHidden[] = "hidden"; 710 const char kInstantFieldTrialHidden[] = "hidden";
711 // The field trial is forced into the INSTANT_EXPERIMENT group. 711 // The field trial is forced into the INSTANT_EXPERIMENT group.
712 const char kInstantFieldTrialInstant[] = "instant"; 712 const char kInstantFieldTrialInstant[] = "instant";
713 // The field trial is forced into the SILENT_EXPERIMENT group. 713 // The field trial is forced into the SILENT_EXPERIMENT group.
714 const char kInstantFieldTrialSilent[] = "silent"; 714 const char kInstantFieldTrialSilent[] = "silent";
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 916
917 // Controls whether profile data is periodically flushed to a file. Normally 917 // Controls whether profile data is periodically flushed to a file. Normally
918 // the data gets written on exit but cases exist where chrome doesn't exit 918 // the data gets written on exit but cases exist where chrome doesn't exit
919 // cleanly (especially when using single-process). A time in seconds can be 919 // cleanly (especially when using single-process). A time in seconds can be
920 // specified. 920 // specified.
921 const char kProfilingFlush[] = "profiling-flush"; 921 const char kProfilingFlush[] = "profiling-flush";
922 922
923 // Specifies a custom URL for fetching NTP promo data. 923 // Specifies a custom URL for fetching NTP promo data.
924 const char kPromoServerURL[] = "promo-server-url"; 924 const char kPromoServerURL[] = "promo-server-url";
925 925
926 // Enables the protector. 926 // Disables the protector.
927 const char kProtector[] = "protector"; 927 const char kNoProtector[] = "no-protector";
928 928
929 // Forces proxy auto-detection. 929 // Forces proxy auto-detection.
930 const char kProxyAutoDetect[] = "proxy-auto-detect"; 930 const char kProxyAutoDetect[] = "proxy-auto-detect";
931 931
932 // Specifies a list of hosts for whom we bypass proxy settings and use direct 932 // Specifies a list of hosts for whom we bypass proxy settings and use direct
933 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also 933 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are also
934 // specified. This is a comma-separated list of bypass rules. See: 934 // specified. This is a comma-separated list of bypass rules. See:
935 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. 935 // "net/proxy/proxy_bypass_rules.h" for the format of these rules.
936 const char kProxyBypassList[] = "proxy-bypass-list"; 936 const char kProxyBypassList[] = "proxy-bypass-list";
937 937
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 1293
1294 // ----------------------------------------------------------------------------- 1294 // -----------------------------------------------------------------------------
1295 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1295 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1296 // 1296 //
1297 // You were going to just dump your switches here, weren't you? Instead, please 1297 // You were going to just dump your switches here, weren't you? Instead, please
1298 // put them in alphabetical order above, or in order inside the appropriate 1298 // put them in alphabetical order above, or in order inside the appropriate
1299 // ifdef at the bottom. The order should match the header. 1299 // ifdef at the bottom. The order should match the header.
1300 // ----------------------------------------------------------------------------- 1300 // -----------------------------------------------------------------------------
1301 1301
1302 } // namespace switches 1302 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698