Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: chrome/browser/ui/startup/bad_flags_prompt.cc

Issue 236073004: Remove kEnableBrowserPluginForAllViewTypes flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 27 matching lines...) Expand all
38 static const char* kBadFlags[] = { 38 static const char* kBadFlags[] = {
39 // These flags disable sandbox-related security. 39 // These flags disable sandbox-related security.
40 switches::kDisableGpuSandbox, 40 switches::kDisableGpuSandbox,
41 switches::kDisableSeccompFilterSandbox, 41 switches::kDisableSeccompFilterSandbox,
42 switches::kDisableSetuidSandbox, 42 switches::kDisableSetuidSandbox,
43 switches::kDisableWebSecurity, 43 switches::kDisableWebSecurity,
44 switches::kNoSandbox, 44 switches::kNoSandbox,
45 switches::kSingleProcess, 45 switches::kSingleProcess,
46 46
47 // These flags disable or undermine the Same Origin Policy. 47 // These flags disable or undermine the Same Origin Policy.
48 switches::kEnableBrowserPluginForAllViewTypes,
49 switches::kTrustedSpdyProxy, 48 switches::kTrustedSpdyProxy,
50 translate::switches::kTranslateSecurityOrigin, 49 translate::switches::kTranslateSecurityOrigin,
51 50
52 // These flags undermine HTTPS / connection security. 51 // These flags undermine HTTPS / connection security.
53 switches::kDisableUserMediaSecurity, 52 switches::kDisableUserMediaSecurity,
54 #if defined(ENABLE_WEBRTC) 53 #if defined(ENABLE_WEBRTC)
55 switches::kDisableWebRtcEncryption, 54 switches::kDisableWebRtcEncryption,
56 #endif 55 #endif
57 switches::kIgnoreCertificateErrors, 56 switches::kIgnoreCertificateErrors,
58 switches::kReduceSecurityForTesting, 57 switches::kReduceSecurityForTesting,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 user_data_dir.LossyDisplayName()); 112 user_data_dir.LossyDisplayName());
114 113
115 if (cleanup_resource_bundle) 114 if (cleanup_resource_bundle)
116 ResourceBundle::CleanupSharedInstance(); 115 ResourceBundle::CleanupSharedInstance();
117 116
118 // More complex dialogs cannot be shown before the earliest calls here. 117 // More complex dialogs cannot be shown before the earliest calls here.
119 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING); 118 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING);
120 } 119 }
121 120
122 } // namespace chrome 121 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698