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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 385993004: Clean up Chrome OS WARNING spam (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, profile_io_data feedback Created 6 years, 5 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/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 07bfdbd19efa59d77e00b2f4e27486649a138248..d5e4a0021f6b7ec07849a37dee00e69fa5b9e8dc 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -367,14 +367,14 @@ bool UserSessionManager::RespectLocalePreference(
if (pref_locale.empty())
pref_locale = global_app_locale;
DCHECK(!pref_locale.empty());
- LOG(WARNING) << "RespectLocalePreference: "
- << "app_locale='" << pref_app_locale << "', "
- << "bkup_locale='" << pref_bkup_locale << "', "
- << (account_locale != NULL
- ? (std::string("account_locale='") + (*account_locale) +
- "'. ")
- : (std::string("account_locale - unused. ")))
- << " Selected '" << pref_locale << "'";
+ VLOG(1) << "RespectLocalePreference: "
+ << "app_locale='" << pref_app_locale << "', "
+ << "bkup_locale='" << pref_bkup_locale << "', "
+ << (account_locale != NULL
+ ? (std::string("account_locale='") + (*account_locale) +
+ "'. ")
+ : (std::string("account_locale - unused. ")))
+ << " Selected '" << pref_locale << "'";
profile->ChangeAppLocale(pref_locale, Profile::APP_LOCALE_CHANGED_VIA_LOGIN);
// Here we don't enable keyboard layouts for normal users. Input methods
@@ -457,7 +457,7 @@ void UserSessionManager::OnNewRefreshTokenAvaiable(Profile* user_profile) {
UserManager::Get()->GetLoggedInUser()->email(),
User::OAUTH2_TOKEN_STATUS_VALID);
- LOG(WARNING) << "Exiting after new refresh token fetched";
+ VLOG(1) << "Exiting after new refresh token fetched";
// We need to restart cleanly in this case to make sure OAuth2 RT is actually
// saved.

Powered by Google App Engine
This is Rietveld 408576698