| Index: chrome/browser/chromeos/arc/arc_support_host.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_support_host.cc b/chrome/browser/chromeos/arc/arc_support_host.cc
|
| index 5e072addcfa811ef3ed57aa763d1905734380892..bdff17d616864c4ca5a850120b251c1477733ba4 100644
|
| --- a/chrome/browser/chromeos/arc/arc_support_host.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_support_host.cc
|
| @@ -67,6 +67,8 @@ constexpr char kEventOnWindowClosed[] = "onWindowClosed";
|
| // extension.
|
| // The auth token is passed via "code" field.
|
| constexpr char kEventOnAuthSucceeded[] = "onAuthSucceeded";
|
| +// "onAuthFailed" is fired when LSO authorization has failed in extension.
|
| +constexpr char kEventOnAuthFailed[] = "onAuthFailed";
|
| constexpr char kCode[] = "code";
|
|
|
| // "onAgree" is fired when a user clicks "Agree" button.
|
| @@ -502,6 +504,9 @@ void ArcSupportHost::OnMessage(const base::DictionaryValue& message) {
|
| } else {
|
| NOTREACHED();
|
| }
|
| + } else if (event == kEventOnAuthFailed) {
|
| + for (auto& observer : observer_list_)
|
| + observer.OnAuthFailed();
|
| } else if (event == kEventOnAgreed) {
|
| bool is_metrics_enabled;
|
| bool is_backup_restore_enabled;
|
|
|