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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 switches::kDisableSeccompFilterSandbox, | 47 switches::kDisableSeccompFilterSandbox, |
48 switches::kDisableSetuidSandbox, | 48 switches::kDisableSetuidSandbox, |
49 switches::kDisableWebSecurity, | 49 switches::kDisableWebSecurity, |
50 #if !defined(DISABLE_NACL) | 50 #if !defined(DISABLE_NACL) |
51 switches::kNaClDangerousNoSandboxNonSfi, | 51 switches::kNaClDangerousNoSandboxNonSfi, |
52 #endif | 52 #endif |
53 switches::kNoSandbox, | 53 switches::kNoSandbox, |
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 switches::kTrustedSpdyProxy, | |
58 translate::switches::kTranslateSecurityOrigin, | 57 translate::switches::kTranslateSecurityOrigin, |
59 | 58 |
60 // These flags undermine HTTPS / connection security. | 59 // These flags undermine HTTPS / connection security. |
61 #if defined(ENABLE_WEBRTC) | 60 #if defined(ENABLE_WEBRTC) |
62 switches::kDisableWebRtcEncryption, | 61 switches::kDisableWebRtcEncryption, |
63 #endif | 62 #endif |
64 switches::kIgnoreCertificateErrors, | 63 switches::kIgnoreCertificateErrors, |
65 switches::kReduceSecurityForTesting, | 64 switches::kReduceSecurityForTesting, |
66 invalidation::switches::kSyncAllowInsecureXmppConnection, | 65 invalidation::switches::kSyncAllowInsecureXmppConnection, |
67 | 66 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 user_data_dir.LossyDisplayName()); | 138 user_data_dir.LossyDisplayName()); |
140 | 139 |
141 if (cleanup_resource_bundle) | 140 if (cleanup_resource_bundle) |
142 ResourceBundle::CleanupSharedInstance(); | 141 ResourceBundle::CleanupSharedInstance(); |
143 | 142 |
144 // More complex dialogs cannot be shown before the earliest calls here. | 143 // More complex dialogs cannot be shown before the earliest calls here. |
145 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING); | 144 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING); |
146 } | 145 } |
147 | 146 |
148 } // namespace chrome | 147 } // namespace chrome |
OLD | NEW |