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

Side by Side Diff: chrome/browser/prefs/command_line_pref_store.cc

Issue 619463002: net: disable SSLv3 fallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix debug crash in tests. Created 6 years, 2 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/net/ssl_config_service_manager_pref.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/prefs/command_line_pref_store.h" 5 #include "chrome/browser/prefs/command_line_pref_store.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 15 matching lines...) Expand all
26 { switches::kLang, prefs::kApplicationLocale }, 26 { switches::kLang, prefs::kApplicationLocale },
27 { switches::kAuthSchemes, prefs::kAuthSchemes }, 27 { switches::kAuthSchemes, prefs::kAuthSchemes },
28 { switches::kAuthServerWhitelist, prefs::kAuthServerWhitelist }, 28 { switches::kAuthServerWhitelist, prefs::kAuthServerWhitelist },
29 { switches::kAuthNegotiateDelegateWhitelist, 29 { switches::kAuthNegotiateDelegateWhitelist,
30 prefs::kAuthNegotiateDelegateWhitelist }, 30 prefs::kAuthNegotiateDelegateWhitelist },
31 { switches::kGSSAPILibraryName, prefs::kGSSAPILibraryName }, 31 { switches::kGSSAPILibraryName, prefs::kGSSAPILibraryName },
32 { data_reduction_proxy::switches::kDataReductionProxy, 32 { data_reduction_proxy::switches::kDataReductionProxy,
33 data_reduction_proxy::prefs::kDataReductionProxy }, 33 data_reduction_proxy::prefs::kDataReductionProxy },
34 { switches::kSSLVersionMin, prefs::kSSLVersionMin }, 34 { switches::kSSLVersionMin, prefs::kSSLVersionMin },
35 { switches::kSSLVersionMax, prefs::kSSLVersionMax }, 35 { switches::kSSLVersionMax, prefs::kSSLVersionMax },
36 { switches::kSSLVersionFallbackMin, prefs::kSSLVersionFallbackMin },
36 }; 37 };
37 38
38 const CommandLinePrefStore::PathSwitchToPreferenceMapEntry 39 const CommandLinePrefStore::PathSwitchToPreferenceMapEntry
39 CommandLinePrefStore::path_switch_map_[] = { 40 CommandLinePrefStore::path_switch_map_[] = {
40 { switches::kDiskCacheDir, prefs::kDiskCacheDir }, 41 { switches::kDiskCacheDir, prefs::kDiskCacheDir },
41 }; 42 };
42 43
43 const CommandLinePrefStore::BooleanSwitchToPreferenceMapEntry 44 const CommandLinePrefStore::BooleanSwitchToPreferenceMapEntry
44 CommandLinePrefStore::boolean_switch_map_[] = { 45 CommandLinePrefStore::boolean_switch_map_[] = {
45 { switches::kDisableAuthNegotiateCnameLookup, 46 { switches::kDisableAuthNegotiateCnameLookup,
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 list_value->Append(new base::StringValue(*it)); 177 list_value->Append(new base::StringValue(*it));
177 } 178 }
178 SetValue(prefs::kCipherSuiteBlacklist, list_value); 179 SetValue(prefs::kCipherSuiteBlacklist, list_value);
179 } 180 }
180 } 181 }
181 182
182 void CommandLinePrefStore::ApplyBackgroundModeSwitches() { 183 void CommandLinePrefStore::ApplyBackgroundModeSwitches() {
183 if (command_line_->HasSwitch(switches::kDisableExtensions)) 184 if (command_line_->HasSwitch(switches::kDisableExtensions))
184 SetValue(prefs::kBackgroundModeEnabled, new base::FundamentalValue(false)); 185 SetValue(prefs::kBackgroundModeEnabled, new base::FundamentalValue(false));
185 } 186 }
OLDNEW
« no previous file with comments | « chrome/browser/net/ssl_config_service_manager_pref.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698