summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros/login_library.cc
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-08 20:53:06 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-08 20:53:06 +0000
commit08f3ac481ed50bf2975f2dfbd20aefd712450680 (patch)
treed8960a5e43c87b9a8b69a425f4aaf925405c4656 /chrome/browser/chromeos/cros/login_library.cc
parent06c3b84aa5849305e37034e4fce0573d59f48567 (diff)
downloadchromium_src-08f3ac481ed50bf2975f2dfbd20aefd712450680.zip
chromium_src-08f3ac481ed50bf2975f2dfbd20aefd712450680.tar.gz
chromium_src-08f3ac481ed50bf2975f2dfbd20aefd712450680.tar.bz2
Use new libcros loading api to display better error messages.
Also remove all EnsureLoaded() methods except one. Review URL: http://codereview.chromium.org/671004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/login_library.cc')
-rw-r--r--chrome/browser/chromeos/cros/login_library.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/chromeos/cros/login_library.cc b/chrome/browser/chromeos/cros/login_library.cc
index 8b02f03..ee07197 100644
--- a/chrome/browser/chromeos/cros/login_library.cc
+++ b/chrome/browser/chromeos/cros/login_library.cc
@@ -9,21 +9,12 @@
#include "chrome/browser/chromeos/cros/cros_library.h"
namespace chromeos {
-// static
-bool LoginLibrary::tried_and_failed = false;
// static
LoginLibrary* LoginLibrary::Get() {
return Singleton<LoginLibrary>::get();
}
-// static
-bool LoginLibrary::EnsureLoaded() {
- if (!LoginLibrary::tried_and_failed)
- LoginLibrary::tried_and_failed = !CrosLibrary::EnsureLoaded();
- return !LoginLibrary::tried_and_failed;
-}
-
bool LoginLibrary::EmitLoginPromptReady() {
return chromeos::EmitLoginPromptReady();
}