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

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

Issue 2753123002: Add --ignore-certificate-errors-spki-list switch and UMA histogram. (Closed)
Patch Set: Add --ignore-certificate-errors-spki-list switch and UMA histogram. Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698