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

Side by Side Diff: chrome/browser/chromeos/login/login_screen.cc

Issue 4011001: Convert LOG(INFO) to VLOG(1) - chrome/browser/chromeos/login/.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/chromeos/login/login_screen.h" 5 #include "chrome/browser/chromeos/login/login_screen.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 void LoginScreen::ClearErrors() { 72 void LoginScreen::ClearErrors() {
73 // bubble_ will be set to NULL in InfoBubbleClosing callback. 73 // bubble_ will be set to NULL in InfoBubbleClosing callback.
74 if (bubble_) 74 if (bubble_)
75 bubble_->Close(); 75 bubble_->Close();
76 } 76 }
77 77
78 void LoginScreen::OnLoginFailure(const LoginFailure& failure) { 78 void LoginScreen::OnLoginFailure(const LoginFailure& failure) {
79 const std::string error = failure.GetErrorString(); 79 const std::string error = failure.GetErrorString();
80 LOG(INFO) << "LoginManagerView: OnLoginFailure() " << error; 80 VLOG(1) << "LoginManagerView: OnLoginFailure() " << error;
81 NetworkLibrary* network = CrosLibrary::Get()->GetNetworkLibrary(); 81 NetworkLibrary* network = CrosLibrary::Get()->GetNetworkLibrary();
82 82
83 // Check networking after trying to login in case user is 83 // Check networking after trying to login in case user is
84 // cached locally or the local admin account. 84 // cached locally or the local admin account.
85 if (!network || !CrosLibrary::Get()->EnsureLoaded()) { 85 if (!network || !CrosLibrary::Get()->EnsureLoaded()) {
86 ShowError(IDS_LOGIN_ERROR_NO_NETWORK_LIBRARY, error); 86 ShowError(IDS_LOGIN_ERROR_NO_NETWORK_LIBRARY, error);
87 } else if (!network->Connected()) { 87 } else if (!network->Connected()) {
88 ShowError(IDS_LOGIN_ERROR_OFFLINE_FAILED_NETWORK_NOT_CONNECTED, error); 88 ShowError(IDS_LOGIN_ERROR_OFFLINE_FAILED_NETWORK_NOT_CONNECTED, error);
89 } else { 89 } else {
90 ShowError(IDS_LOGIN_ERROR_AUTHENTICATING_NEW, error); 90 ShowError(IDS_LOGIN_ERROR_AUTHENTICATING_NEW, error);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 view()->GetWidget(), 128 view()->GetWidget(),
129 view()->GetPasswordBounds(), 129 view()->GetPasswordBounds(),
130 BubbleBorder::LEFT_TOP, 130 BubbleBorder::LEFT_TOP,
131 ResourceBundle::GetSharedInstance().GetBitmapNamed(IDR_WARNING), 131 ResourceBundle::GetSharedInstance().GetBitmapNamed(IDR_WARNING),
132 error_text, 132 error_text,
133 l10n_util::GetString(IDS_CANT_ACCESS_ACCOUNT_BUTTON), 133 l10n_util::GetString(IDS_CANT_ACCESS_ACCOUNT_BUTTON),
134 this); 134 this);
135 } 135 }
136 136
137 } // namespace chromeos 137 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/keyboard_switch_menu.cc ('k') | chrome/browser/chromeos/login/login_screen_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698