| 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 "chrome/browser/infobars/infobar_service.h" | 10 #include "chrome/browser/infobars/infobar_service.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 // These flags disable sandbox-related security. | 40 // These flags disable sandbox-related security. |
| 41 switches::kDisableGpuSandbox, | 41 switches::kDisableGpuSandbox, |
| 42 switches::kDisableSeccompFilterSandbox, | 42 switches::kDisableSeccompFilterSandbox, |
| 43 switches::kDisableSetuidSandbox, | 43 switches::kDisableSetuidSandbox, |
| 44 switches::kDisableWebSecurity, | 44 switches::kDisableWebSecurity, |
| 45 switches::kNaClDangerousNoSandboxNonSfi, | 45 switches::kNaClDangerousNoSandboxNonSfi, |
| 46 switches::kNoSandbox, | 46 switches::kNoSandbox, |
| 47 switches::kSingleProcess, | 47 switches::kSingleProcess, |
| 48 | 48 |
| 49 // These flags disable or undermine the Same Origin Policy. | 49 // These flags disable or undermine the Same Origin Policy. |
| 50 switches::kEnableBrowserPluginForAllViewTypes, | |
| 51 switches::kTrustedSpdyProxy, | 50 switches::kTrustedSpdyProxy, |
| 52 translate::switches::kTranslateSecurityOrigin, | 51 translate::switches::kTranslateSecurityOrigin, |
| 53 | 52 |
| 54 // These flags undermine HTTPS / connection security. | 53 // These flags undermine HTTPS / connection security. |
| 55 switches::kDisableUserMediaSecurity, | 54 switches::kDisableUserMediaSecurity, |
| 56 #if defined(ENABLE_WEBRTC) | 55 #if defined(ENABLE_WEBRTC) |
| 57 switches::kDisableWebRtcEncryption, | 56 switches::kDisableWebRtcEncryption, |
| 58 #endif | 57 #endif |
| 59 switches::kIgnoreCertificateErrors, | 58 switches::kIgnoreCertificateErrors, |
| 60 switches::kReduceSecurityForTesting, | 59 switches::kReduceSecurityForTesting, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 user_data_dir.LossyDisplayName()); | 114 user_data_dir.LossyDisplayName()); |
| 116 | 115 |
| 117 if (cleanup_resource_bundle) | 116 if (cleanup_resource_bundle) |
| 118 ResourceBundle::CleanupSharedInstance(); | 117 ResourceBundle::CleanupSharedInstance(); |
| 119 | 118 |
| 120 // More complex dialogs cannot be shown before the earliest calls here. | 119 // More complex dialogs cannot be shown before the earliest calls here. |
| 121 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING); | 120 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING); |
| 122 } | 121 } |
| 123 | 122 |
| 124 } // namespace chrome | 123 } // namespace chrome |
| OLD | NEW |