| Index: chrome/browser/chromeos/login/google_authenticator.cc
|
| diff --git a/chrome/browser/chromeos/login/google_authenticator.cc b/chrome/browser/chromeos/login/google_authenticator.cc
|
| index fdde9cc16de46274872cd4560199e1e09cf4c003..95db42bc40070bf229f3f8cb099b6c788ca826f4 100644
|
| --- a/chrome/browser/chromeos/login/google_authenticator.cc
|
| +++ b/chrome/browser/chromeos/login/google_authenticator.cc
|
| @@ -17,6 +17,7 @@
|
| #include "base/third_party/nss/sha256.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chrome_thread.h"
|
| +#include "chrome/browser/chromeos/browser_notification_observers.h"
|
| #include "chrome/browser/chromeos/cros/cryptohome_library.h"
|
| #include "chrome/browser/chromeos/login/auth_response_handler.h"
|
| #include "chrome/browser/chromeos/login/authentication_notification_details.h"
|
| @@ -54,6 +55,10 @@ GoogleAuthenticator::GoogleAuthenticator(LoginStatusConsumer* consumer)
|
| unlock_(false),
|
| try_again_(true) {
|
| CHECK(chromeos::CrosLibrary::Get()->EnsureLoaded());
|
| +
|
| + // This forces the creation of the login notification observer
|
| + // singleton. It must be created to record login time.
|
| + chromeos::LogLoginSuccessObserver::Get();
|
| }
|
|
|
| GoogleAuthenticator::~GoogleAuthenticator() {}
|
|
|