| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_status_consumer.h" | 5 #include "chrome/browser/chromeos/login/login_status_consumer.h" |
| 6 #include "chrome/browser/chromeos/login/user.h" | 6 #include "chrome/browser/chromeos/login/user.h" |
| 7 | 7 |
| 8 namespace chromeos { | 8 namespace chromeos { |
| 9 | 9 |
| 10 void LoginStatusConsumer::OnRetailModeLoginSuccess() { | 10 void LoginStatusConsumer::OnRetailModeLoginSuccess() { |
| 11 OnLoginSuccess(kRetailModeUserEMail, "", false, false); | 11 OnLoginSuccess(UserCredentials(kRetailModeUserEMail, |
| 12 "", // password |
| 13 ""), // auth_code |
| 14 false, // pending_requests |
| 15 false); // using_oauth |
| 12 } | 16 } |
| 13 | 17 |
| 14 void LoginStatusConsumer::OnPasswordChangeDetected() { | 18 void LoginStatusConsumer::OnPasswordChangeDetected() { |
| 15 NOTREACHED(); | 19 NOTREACHED(); |
| 16 } | 20 } |
| 17 | 21 |
| 18 } // namespace chromeos | 22 } // namespace chromeos |
| OLD | NEW |