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

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

Issue 9355059: Renaming virtual setters/getters in UserManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: year Created 8 years, 9 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
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 362ac091dd8645ec5050f78214bf9954cb8606bf..9fdf48eef6805e1aa881d939459b7768dfe58079 100644
--- a/chrome/browser/chromeos/proxy_config_service_impl.cc
+++ b/chrome/browser/chromeos/proxy_config_service_impl.cc
@@ -693,8 +693,10 @@ void ProxyConfigServiceImpl::SetProxyConfigForNetwork(
bool ProxyConfigServiceImpl::GetUseSharedProxies() {
const PrefService::Preference* use_shared_proxies_pref =
prefs()->FindPreference(prefs::kUseSharedProxies);
- if (!use_shared_proxies_pref)
- return !UserManager::Get()->user_is_logged_in();
+ if (!use_shared_proxies_pref) {
+ // Make sure that proxies are always enabled at sign in screen.
+ return !UserManager::Get()->IsUserLoggedIn();
+ }
return use_shared_proxies_.GetValue();
}
« no previous file with comments | « chrome/browser/chromeos/power/power_button_observer.cc ('k') | chrome/browser/chromeos/sim_dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698