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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 | 867 |
868 // List of comma-separated sha256 hashes of executable files which the | 868 // List of comma-separated sha256 hashes of executable files which the |
869 // download-protection service should treat as "dangerous." For a file to | 869 // download-protection service should treat as "dangerous." For a file to |
870 // show a warning, it also must be considered a dangerous filetype and not | 870 // show a warning, it also must be considered a dangerous filetype and not |
871 // be whitelisted otherwise (by signature or URL) and must be on a supported | 871 // be whitelisted otherwise (by signature or URL) and must be on a supported |
872 // OS. Hashes are in hex. This is used for manual testing when looking | 872 // OS. Hashes are in hex. This is used for manual testing when looking |
873 // for ways to by-pass download protection. | 873 // for ways to by-pass download protection. |
874 const char kSbManualDownloadBlacklist[] = | 874 const char kSbManualDownloadBlacklist[] = |
875 "safebrowsing-manual-download-blacklist"; | 875 "safebrowsing-manual-download-blacklist"; |
876 | 876 |
| 877 const char kSecurityChipShowNonSecureOnly[] = "show-nonsecure-only"; |
| 878 const char kSecurityChipShowAll[] = "show-all"; |
| 879 |
| 880 const char kSecurityChipAnimation[] = "security-chip-animation"; |
| 881 const char kSecurityChipAnimationNone[] = "none"; |
| 882 const char kSecurityChipAnimationNonSecureOnly[] = "animate-nonsecure-only"; |
| 883 const char kSecurityChipAnimationAll[] = "animate-all"; |
| 884 |
877 // Causes the process to run as a service process. | 885 // Causes the process to run as a service process. |
878 const char kServiceProcess[] = "service"; | 886 const char kServiceProcess[] = "service"; |
879 | 887 |
880 // If true the app list will be shown. | 888 // If true the app list will be shown. |
881 const char kShowAppList[] = "show-app-list"; | 889 const char kShowAppList[] = "show-app-list"; |
882 | 890 |
883 // Does not show an infobar when an extension attaches to a page using | 891 // Does not show an infobar when an extension attaches to a page using |
884 // chrome.debugger page. Required to attach to extension background pages. | 892 // chrome.debugger page. Required to attach to extension background pages. |
885 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; | 893 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; |
886 | 894 |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 | 1335 |
1328 // ----------------------------------------------------------------------------- | 1336 // ----------------------------------------------------------------------------- |
1329 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1337 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
1330 // | 1338 // |
1331 // You were going to just dump your switches here, weren't you? Instead, please | 1339 // You were going to just dump your switches here, weren't you? Instead, please |
1332 // put them in alphabetical order above, or in order inside the appropriate | 1340 // put them in alphabetical order above, or in order inside the appropriate |
1333 // ifdef at the bottom. The order should match the header. | 1341 // ifdef at the bottom. The order should match the header. |
1334 // ----------------------------------------------------------------------------- | 1342 // ----------------------------------------------------------------------------- |
1335 | 1343 |
1336 } // namespace switches | 1344 } // namespace switches |
OLD | NEW |