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/browser/ui/startup/bad_flags_prompt.h" | 5 #include "chrome/browser/ui/startup/bad_flags_prompt.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 switches::kSingleProcess, | 54 switches::kSingleProcess, |
55 | 55 |
56 // These flags disable or undermine the Same Origin Policy. | 56 // These flags disable or undermine the Same Origin Policy. |
57 translate::switches::kTranslateSecurityOrigin, | 57 translate::switches::kTranslateSecurityOrigin, |
58 | 58 |
59 // These flags undermine HTTPS / connection security. | 59 // These flags undermine HTTPS / connection security. |
60 #if BUILDFLAG(ENABLE_WEBRTC) | 60 #if BUILDFLAG(ENABLE_WEBRTC) |
61 switches::kDisableWebRtcEncryption, | 61 switches::kDisableWebRtcEncryption, |
62 #endif | 62 #endif |
63 switches::kIgnoreCertificateErrors, | 63 switches::kIgnoreCertificateErrors, |
| 64 switches::kIgnoreCertificateErrorsSPKIList, |
64 switches::kReduceSecurityForTesting, | 65 switches::kReduceSecurityForTesting, |
65 invalidation::switches::kSyncAllowInsecureXmppConnection, | 66 invalidation::switches::kSyncAllowInsecureXmppConnection, |
66 | 67 |
67 // These flags change the URLs that handle PII. | 68 // These flags change the URLs that handle PII. |
68 switches::kGaiaUrl, | 69 switches::kGaiaUrl, |
69 translate::switches::kTranslateScriptURL, | 70 translate::switches::kTranslateScriptURL, |
70 | 71 |
71 // This flag gives extensions more powers. | 72 // This flag gives extensions more powers. |
72 extensions::switches::kExtensionsOnChromeURLs, | 73 extensions::switches::kExtensionsOnChromeURLs, |
73 | 74 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 user_data_dir.LossyDisplayName()); | 134 user_data_dir.LossyDisplayName()); |
134 | 135 |
135 if (cleanup_resource_bundle) | 136 if (cleanup_resource_bundle) |
136 ResourceBundle::CleanupSharedInstance(); | 137 ResourceBundle::CleanupSharedInstance(); |
137 | 138 |
138 // More complex dialogs cannot be shown before the earliest calls here. | 139 // More complex dialogs cannot be shown before the earliest calls here. |
139 ShowWarningMessageBox(NULL, title, message); | 140 ShowWarningMessageBox(NULL, title, message); |
140 } | 141 } |
141 | 142 |
142 } // namespace chrome | 143 } // namespace chrome |
OLD | NEW |