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

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: Added net/base/test_proxy_delegate.{h,cc} Created 4 years, 10 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/io_thread.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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698