| 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 fae06a64a0ff0aa8750d41ee1a977b73c8faf138..dd19db7480c27fefb31cfb233d7512ce2bf2a567 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| @@ -454,6 +454,7 @@ void ArcAuthService::OnContextPrepared(
|
| if (request_context_getter) {
|
| support_host_->ShowLso();
|
| } else {
|
| + UpdateOptInCancelUMA(OptInCancelReason::NETWORK_ERROR);
|
| support_host_->ShowError(ArcSupportHost::Error::SIGN_IN_NETWORK_ERROR,
|
| false);
|
| }
|
| @@ -1111,6 +1112,12 @@ void ArcAuthService::OnAuthSucceeded(const std::string& auth_code) {
|
| OnAuthCodeObtained(auth_code);
|
| }
|
|
|
| +void ArcAuthService::OnAuthFailed() {
|
| + // Don't report via callback. Extension is already showing more detailed
|
| + // information. Update only UMA here.
|
| + UpdateOptInCancelUMA(OptInCancelReason::NETWORK_ERROR);
|
| +}
|
| +
|
| void ArcAuthService::OnRetryClicked() {
|
| DCHECK(support_host_);
|
|
|
|
|