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

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: D'Ho! Created 3 years, 6 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
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 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 // Setting this switch also causes Sync to be set up for a supervised user. 779 // Setting this switch also causes Sync to be set up for a supervised user.
780 const char kSupervisedUserSyncToken[] = "managed-user-sync-token"; 780 const char kSupervisedUserSyncToken[] = "managed-user-sync-token";
781 781
782 // Frequency in Milliseconds for system log uploads. Should only be used for 782 // Frequency in Milliseconds for system log uploads. Should only be used for
783 // testing purposes. 783 // testing purposes.
784 const char kSystemLogUploadFrequency[] = "system-log-upload-frequency"; 784 const char kSystemLogUploadFrequency[] = "system-log-upload-frequency";
785 785
786 // Passes the name of the current running automated test to Chrome. 786 // Passes the name of the current running automated test to Chrome.
787 const char kTestName[] = "test-name"; 787 const char kTestName[] = "test-name";
788 788
789 // Identifies a list of download sources as trusted, but only if proper group
790 // policy is set.
791 const char kTrustedDownloadSources[] = "trusted-download-sources";
792
789 // Experimental. Shows a dialog asking the user to try chrome. This flag is to 793 // Experimental. Shows a dialog asking the user to try chrome. This flag is to
790 // be used only by the upgrade process. 794 // be used only by the upgrade process.
791 const char kTryChromeAgain[] = "try-chrome-again"; 795 const char kTryChromeAgain[] = "try-chrome-again";
792 796
793 // Overrides per-origin quota settings to unlimited storage for any 797 // Overrides per-origin quota settings to unlimited storage for any
794 // apps/origins. This should be used only for testing purpose. 798 // apps/origins. This should be used only for testing purpose.
795 const char kUnlimitedStorage[] = "unlimited-storage"; 799 const char kUnlimitedStorage[] = "unlimited-storage";
796 800
797 // Treat given (insecure) origins as secure origins. Multiple origins can be 801 // Treat given (insecure) origins as secure origins. Multiple origins can be
798 // supplied. Has no effect unless --user-data-dir is also supplied. 802 // supplied. Has no effect unless --user-data-dir is also supplied.
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 1172
1169 // ----------------------------------------------------------------------------- 1173 // -----------------------------------------------------------------------------
1170 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1174 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1171 // 1175 //
1172 // You were going to just dump your switches here, weren't you? Instead, please 1176 // You were going to just dump your switches here, weren't you? Instead, please
1173 // put them in alphabetical order above, or in order inside the appropriate 1177 // put them in alphabetical order above, or in order inside the appropriate
1174 // ifdef at the bottom. The order should match the header. 1178 // ifdef at the bottom. The order should match the header.
1175 // ----------------------------------------------------------------------------- 1179 // -----------------------------------------------------------------------------
1176 1180
1177 } // namespace switches 1181 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698