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

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

Issue 2943763002: Add a new group policy to disable safe browsing for files downloaded from trusted sources. (Closed)
Patch Set: Fix an XML goof Created 3 years, 5 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 // Setting this switch also causes Sync to be set up for a supervised user. 762 // Setting this switch also causes Sync to be set up for a supervised user.
763 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; 763 const char kSupervisedUserSyncToken[] = "managed-user-sync-token";
764 764
765 // Frequency in Milliseconds for system log uploads. Should only be used for 765 // Frequency in Milliseconds for system log uploads. Should only be used for
766 // testing purposes. 766 // testing purposes.
767 const char kSystemLogUploadFrequency[] = "system-log-upload-frequency"; 767 const char kSystemLogUploadFrequency[] = "system-log-upload-frequency";
768 768
769 // Passes the name of the current running automated test to Chrome. 769 // Passes the name of the current running automated test to Chrome.
770 const char kTestName[] = "test-name"; 770 const char kTestName[] = "test-name";
771 771
772 // Identifies a list of download sources as trusted, but only if proper group
773 // policy is set.
774 const char kTrustedDownloadSources[] = "trusted-download-sources";
775
772 // Experimental. Shows a dialog asking the user to try chrome. This flag is to 776 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
773 // be used only by the upgrade process. 777 // be used only by the upgrade process.
774 const char kTryChromeAgain[] = "try-chrome-again"; 778 const char kTryChromeAgain[] = "try-chrome-again";
775 779
776 // Overrides per-origin quota settings to unlimited storage for any 780 // Overrides per-origin quota settings to unlimited storage for any
777 // apps/origins. This should be used only for testing purpose. 781 // apps/origins. This should be used only for testing purpose.
778 const char kUnlimitedStorage[] = "unlimited-storage"; 782 const char kUnlimitedStorage[] = "unlimited-storage";
779 783
780 // Treat given (insecure) origins as secure origins. Multiple origins can be 784 // Treat given (insecure) origins as secure origins. Multiple origins can be
781 // supplied. Has no effect unless --user-data-dir is also supplied. 785 // supplied. Has no effect unless --user-data-dir is also supplied.
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 1153
1150 // ----------------------------------------------------------------------------- 1154 // -----------------------------------------------------------------------------
1151 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1155 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1152 // 1156 //
1153 // You were going to just dump your switches here, weren't you? Instead, please 1157 // You were going to just dump your switches here, weren't you? Instead, please
1154 // put them in alphabetical order above, or in order inside the appropriate 1158 // put them in alphabetical order above, or in order inside the appropriate
1155 // ifdef at the bottom. The order should match the header. 1159 // ifdef at the bottom. The order should match the header.
1156 // ----------------------------------------------------------------------------- 1160 // -----------------------------------------------------------------------------
1157 1161
1158 } // namespace switches 1162 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698