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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 // These flags undermine HTTPS / connection security. | 59 // These flags undermine HTTPS / connection security. |
60 #if defined(ENABLE_WEBRTC) | 60 #if defined(ENABLE_WEBRTC) |
61 switches::kDisableWebRtcEncryption, | 61 switches::kDisableWebRtcEncryption, |
62 #endif | 62 #endif |
63 switches::kIgnoreCertificateErrors, | 63 switches::kIgnoreCertificateErrors, |
64 switches::kReduceSecurityForTesting, | 64 switches::kReduceSecurityForTesting, |
65 invalidation::switches::kSyncAllowInsecureXmppConnection, | 65 invalidation::switches::kSyncAllowInsecureXmppConnection, |
66 | 66 |
67 // These flags change the URLs that handle PII. | 67 // These flags change the URLs that handle PII. |
68 autofill::switches::kWalletSecureServiceUrl, | |
69 switches::kGaiaUrl, | 68 switches::kGaiaUrl, |
70 translate::switches::kTranslateScriptURL, | 69 translate::switches::kTranslateScriptURL, |
71 | 70 |
72 // This flag gives extensions more powers. | 71 // This flag gives extensions more powers. |
73 extensions::switches::kExtensionsOnChromeURLs, | 72 extensions::switches::kExtensionsOnChromeURLs, |
74 | 73 |
75 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 74 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
76 // Speech dispatcher is buggy, it can crash and it can make Chrome freeze. | 75 // Speech dispatcher is buggy, it can crash and it can make Chrome freeze. |
77 // http://crbug.com/327295 | 76 // http://crbug.com/327295 |
78 switches::kEnableSpeechDispatcher, | 77 switches::kEnableSpeechDispatcher, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 user_data_dir.LossyDisplayName()); | 143 user_data_dir.LossyDisplayName()); |
145 | 144 |
146 if (cleanup_resource_bundle) | 145 if (cleanup_resource_bundle) |
147 ResourceBundle::CleanupSharedInstance(); | 146 ResourceBundle::CleanupSharedInstance(); |
148 | 147 |
149 // More complex dialogs cannot be shown before the earliest calls here. | 148 // More complex dialogs cannot be shown before the earliest calls here. |
150 ShowWarningMessageBox(NULL, title, message); | 149 ShowWarningMessageBox(NULL, title, message); |
151 } | 150 } |
152 | 151 |
153 } // namespace chrome | 152 } // namespace chrome |
OLD | NEW |