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

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

Issue 818193005: Removing HTTP Auth related command-line flags "--enable-auth-negotiate-port" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing Build errors Created 5 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/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 27 matching lines...) Expand all
38 38
39 const CommandLinePrefStore::PathSwitchToPreferenceMapEntry 39 const CommandLinePrefStore::PathSwitchToPreferenceMapEntry
40 CommandLinePrefStore::path_switch_map_[] = { 40 CommandLinePrefStore::path_switch_map_[] = {
41 { switches::kDiskCacheDir, prefs::kDiskCacheDir }, 41 { switches::kDiskCacheDir, prefs::kDiskCacheDir },
42 }; 42 };
43 43
44 const CommandLinePrefStore::BooleanSwitchToPreferenceMapEntry 44 const CommandLinePrefStore::BooleanSwitchToPreferenceMapEntry
45 CommandLinePrefStore::boolean_switch_map_[] = { 45 CommandLinePrefStore::boolean_switch_map_[] = {
46 { switches::kDisableAuthNegotiateCnameLookup, 46 { switches::kDisableAuthNegotiateCnameLookup,
47 prefs::kDisableAuthNegotiateCnameLookup, true }, 47 prefs::kDisableAuthNegotiateCnameLookup, true },
48 { switches::kEnableAuthNegotiatePort, prefs::kEnableAuthNegotiatePort,
49 true },
50 { switches::kDisable3DAPIs, prefs::kDisable3DAPIs, true }, 48 { switches::kDisable3DAPIs, prefs::kDisable3DAPIs, true },
51 { switches::kEnableCloudPrintProxy, prefs::kCloudPrintProxyEnabled, 49 { switches::kEnableCloudPrintProxy, prefs::kCloudPrintProxyEnabled,
52 true }, 50 true },
53 { switches::kAllowOutdatedPlugins, prefs::kPluginsAllowOutdated, true }, 51 { switches::kAllowOutdatedPlugins, prefs::kPluginsAllowOutdated, true },
54 { switches::kAlwaysAuthorizePlugins, prefs::kPluginsAlwaysAuthorize, 52 { switches::kAlwaysAuthorizePlugins, prefs::kPluginsAlwaysAuthorize,
55 true }, 53 true },
56 { switches::kNoPings, prefs::kEnableHyperlinkAuditing, false }, 54 { switches::kNoPings, prefs::kEnableHyperlinkAuditing, false },
57 { switches::kNoReferrers, prefs::kEnableReferrers, false }, 55 { switches::kNoReferrers, prefs::kEnableReferrers, false },
58 { switches::kAllowRunningInsecureContent, 56 { switches::kAllowRunningInsecureContent,
59 prefs::kWebKitAllowRunningInsecureContent, true }, 57 prefs::kWebKitAllowRunningInsecureContent, true },
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 list_value->Append(new base::StringValue(*it)); 176 list_value->Append(new base::StringValue(*it));
179 } 177 }
180 SetValue(prefs::kCipherSuiteBlacklist, list_value); 178 SetValue(prefs::kCipherSuiteBlacklist, list_value);
181 } 179 }
182 } 180 }
183 181
184 void CommandLinePrefStore::ApplyBackgroundModeSwitches() { 182 void CommandLinePrefStore::ApplyBackgroundModeSwitches() {
185 if (command_line_->HasSwitch(switches::kDisableExtensions)) 183 if (command_line_->HasSwitch(switches::kDisableExtensions))
186 SetValue(prefs::kBackgroundModeEnabled, new base::FundamentalValue(false)); 184 SetValue(prefs::kBackgroundModeEnabled, new base::FundamentalValue(false));
187 } 185 }
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_list_factory.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698