Index: chrome/browser/chromeos/login/login_performer.cc |
diff --git a/chrome/browser/chromeos/login/login_performer.cc b/chrome/browser/chromeos/login/login_performer.cc |
index 10f01205a9dc7890ddb5a8aa4e8dcb274846b818..3532d50524e07ef1264099d377acb37b68128f19 100644 |
--- a/chrome/browser/chromeos/login/login_performer.cc |
+++ b/chrome/browser/chromeos/login/login_performer.cc |
@@ -18,10 +18,10 @@ |
#include "chrome/browser/chromeos/login/login_utils.h" |
#include "chrome/browser/chromeos/login/screen_locker.h" |
#include "chrome/browser/chromeos/user_cros_settings_provider.h" |
-#include "chrome/common/notification_service.h" |
-#include "chrome/common/notification_type.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
+#include "chrome/common/notification_service.h" |
+#include "chrome/common/notification_type.h" |
#include "grit/generated_resources.h" |
namespace chromeos { |
@@ -118,6 +118,11 @@ void LoginPerformer::OnLoginSuccess( |
// TODO(nkostylev): Execute CookieFetcher->AttemptFetch() here once |
Chris Masone
2010/12/03 16:40:02
can take this comment out now :-)
Nikita (slow)
2010/12/03 16:49:43
Done.
|
// async login is implemented. |
// http://crosbug.com/9814 |
+ Profile* profile = |
+ g_browser_process->profile_manager()->GetDefaultProfile(); |
+ LoginUtils::Get()->FetchCookies(profile, credentials); |
+ LoginUtils::Get()->FetchTokens(profile, credentials); |
+ |
if (ScreenLocker::default_screen_locker()) { |
DVLOG(1) << "Online login OK - unlocking screen."; |
RequestScreenUnlock(); |