Chromium Code Reviews| 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 ca0a1ac9ffba64ef3e4cb1e1fcbc59bb4bdaad52..5a03b6778536eead3f60f7340826f40d918ce177 100644 |
| --- a/chrome/browser/chromeos/login/login_performer.cc |
| +++ b/chrome/browser/chromeos/login/login_performer.cc |
| @@ -60,9 +60,6 @@ LoginPerformer::LoginPerformer(Delegate* delegate) |
| screen_lock_requested_(false), |
| initial_online_auth_pending_(false), |
| auth_mode_(AUTH_MODE_INTERNAL), |
| - using_oauth_( |
| - !CommandLine::ForCurrentProcess()->HasSwitch( |
| - switches::kSkipOAuthLogin)), |
| ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) { |
| DCHECK(default_performer_ == NULL) |
| << "LoginPerformer should have only one instance."; |
| @@ -190,8 +187,8 @@ void LoginPerformer::OnProfileCreated( |
| return; |
| } |
| - if (using_oauth_) |
| - LoginUtils::Get()->StartTokenServices(profile); |
| + // TODO(zelidrag): Figure out when this needs to run. |
| + LoginUtils::Get()->StartTokenServices(profile); |
|
Joao da Silva
2013/01/11 16:45:07
AFAICT this method is dead code.
It's only used a
zel
2013/01/11 19:51:16
I suspect this might have something to do with scr
Nikita (slow)
2013/01/11 22:02:03
Yes, this method could be removed.
zel
2013/01/12 02:07:36
Removed LoginPerformer::OnProfileCreated(), branch
|
| // Don't unlock screen if it was locked while we're waiting |
| // for initial online auth. |