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

Unified Diff: chrome/browser/chromeos/proxy_config_service_impl.cc

Issue 9309024: Quick-and-dirty hacks for getting policy working behind proxies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/proxy_config_service_impl.cc
diff --git a/chrome/browser/chromeos/proxy_config_service_impl.cc b/chrome/browser/chromeos/proxy_config_service_impl.cc
index 1f6f438e7668868f3824e79206e08f067fe72963..8480d30abd37c6e17e41519cdaffa48775e65faf 100644
--- a/chrome/browser/chromeos/proxy_config_service_impl.cc
+++ b/chrome/browser/chromeos/proxy_config_service_impl.cc
@@ -542,7 +542,7 @@ void ProxyConfigServiceImpl::RegisterPrefs(PrefService* pref_service) {
// Use shared proxies default to off. GetUseSharedProxies will return the
// correct value based on pre-login and login.
pref_service->RegisterBooleanPref(prefs::kUseSharedProxies,
- false,
+ true,
PrefService::UNSYNCABLE_PREF);
}
@@ -664,7 +664,7 @@ void ProxyConfigServiceImpl::SetProxyConfigForNetwork(
bool ProxyConfigServiceImpl::GetUseSharedProxies() {
const PrefService::Preference* use_shared_proxies_pref =
prefs()->FindPreference(prefs::kUseSharedProxies);
- if (!use_shared_proxies_pref || use_shared_proxies_pref->IsDefaultValue())
+ if (!use_shared_proxies_pref)
return !UserManager::Get()->user_is_logged_in();
return use_shared_proxies_.GetValue();
}
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698