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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 switches::kSingleProcess, | 55 switches::kSingleProcess, |
56 | 56 |
57 // These flags disable or undermine the Same Origin Policy. | 57 // These flags disable or undermine the Same Origin Policy. |
58 translate::switches::kTranslateSecurityOrigin, | 58 translate::switches::kTranslateSecurityOrigin, |
59 | 59 |
60 // These flags undermine HTTPS / connection security. | 60 // These flags undermine HTTPS / connection security. |
61 #if BUILDFLAG(ENABLE_WEBRTC) | 61 #if BUILDFLAG(ENABLE_WEBRTC) |
62 switches::kDisableWebRtcEncryption, | 62 switches::kDisableWebRtcEncryption, |
63 #endif | 63 #endif |
64 switches::kIgnoreCertificateErrors, | 64 switches::kIgnoreCertificateErrors, |
| 65 switches::kIgnoreCertificateErrorsSPKIList, |
65 switches::kReduceSecurityForTesting, | 66 switches::kReduceSecurityForTesting, |
66 invalidation::switches::kSyncAllowInsecureXmppConnection, | 67 invalidation::switches::kSyncAllowInsecureXmppConnection, |
67 | 68 |
68 // These flags change the URLs that handle PII. | 69 // These flags change the URLs that handle PII. |
69 switches::kGaiaUrl, | 70 switches::kGaiaUrl, |
70 translate::switches::kTranslateScriptURL, | 71 translate::switches::kTranslateScriptURL, |
71 | 72 |
72 // This flag gives extensions more powers. | 73 // This flag gives extensions more powers. |
73 extensions::switches::kExtensionsOnChromeURLs, | 74 extensions::switches::kExtensionsOnChromeURLs, |
74 | 75 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 user_data_dir.LossyDisplayName()); | 139 user_data_dir.LossyDisplayName()); |
139 | 140 |
140 if (cleanup_resource_bundle) | 141 if (cleanup_resource_bundle) |
141 ResourceBundle::CleanupSharedInstance(); | 142 ResourceBundle::CleanupSharedInstance(); |
142 | 143 |
143 // More complex dialogs cannot be shown before the earliest calls here. | 144 // More complex dialogs cannot be shown before the earliest calls here. |
144 ShowWarningMessageBox(NULL, title, message); | 145 ShowWarningMessageBox(NULL, title, message); |
145 } | 146 } |
146 | 147 |
147 } // namespace chrome | 148 } // namespace chrome |
OLD | NEW |