Chromium Code Reviews| Index: chrome/browser/chromeos/arc/arc_auth_service.cc |
| diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc |
| index a342fc0878629bbb990c39a4211cd71a78bb7bc8..7d0747002b5eecb9fa64b90f43484defebb25655 100644 |
| --- a/chrome/browser/chromeos/arc/arc_auth_service.cc |
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.cc |
| @@ -353,11 +353,8 @@ std::string ArcAuthService::GetAndResetAuthCode() { |
| void ArcAuthService::GetAuthCodeDeprecated0( |
| const GetAuthCodeDeprecated0Callback& callback) { |
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
| - DCHECK(!IsOptInVerificationDisabled()); |
| - // For robot account we must use RequestAccountInfo because it allows to |
| - // specify account type. |
| - DCHECK(!IsArcKioskMode()); |
| - callback.Run(GetAndResetAuthCode()); |
| + NOTREACHED() << "GetAuthCodeDeprecated0() should no longer be callable"; |
| + callback.Run(std::string()); |
|
hidehiko
2016/11/14 07:41:03
Because this should never be called, we may be abl
Luis Héctor Chávez
2016/11/14 16:07:52
yeah, we should drop it.
hidehiko
2016/11/14 17:54:51
Done.
|
| } |
| void ArcAuthService::GetAuthCodeDeprecated( |