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

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

Issue 1547273003: Set trusted SPDY proxy dynamically on per-profile basis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated based on design doc discussion Created 4 years, 11 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
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 switches::kDisableGpuSandbox, 46 switches::kDisableGpuSandbox,
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.
57 switches::kTrustedSpdyProxy,
58 translate::switches::kTranslateSecurityOrigin, 56 translate::switches::kTranslateSecurityOrigin,
59 57
60 // These flags undermine HTTPS / connection security. 58 // These flags undermine HTTPS / connection security.
61 #if defined(ENABLE_WEBRTC) 59 #if defined(ENABLE_WEBRTC)
62 switches::kDisableWebRtcEncryption, 60 switches::kDisableWebRtcEncryption,
63 #endif 61 #endif
64 switches::kIgnoreCertificateErrors, 62 switches::kIgnoreCertificateErrors,
65 switches::kReduceSecurityForTesting, 63 switches::kReduceSecurityForTesting,
66 invalidation::switches::kSyncAllowInsecureXmppConnection, 64 invalidation::switches::kSyncAllowInsecureXmppConnection,
67 65
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 user_data_dir.LossyDisplayName()); 137 user_data_dir.LossyDisplayName());
140 138
141 if (cleanup_resource_bundle) 139 if (cleanup_resource_bundle)
142 ResourceBundle::CleanupSharedInstance(); 140 ResourceBundle::CleanupSharedInstance();
143 141
144 // More complex dialogs cannot be shown before the earliest calls here. 142 // More complex dialogs cannot be shown before the earliest calls here.
145 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING); 143 ShowMessageBox(NULL, title, message, chrome::MESSAGE_BOX_TYPE_WARNING);
146 } 144 }
147 145
148 } // namespace chrome 146 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698