Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5272)

Unified Diff: chrome/browser/resources/chromeos/arc_support/background.js

Issue 2618603003: arc: Restore UMA statistics for failures in LSO flow. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/arc/auth/arc_manual_auth_code_fetcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/arc_support/background.js
diff --git a/chrome/browser/resources/chromeos/arc_support/background.js b/chrome/browser/resources/chromeos/arc_support/background.js
index 40d2a296c34d0448f4ba3bce16fae9779f0e7a34..1bbfcc6522c12b8f30b89b1909f1beaff04cc577 100644
--- a/chrome/browser/resources/chromeos/arc_support/background.js
+++ b/chrome/browser/resources/chromeos/arc_support/background.js
@@ -675,7 +675,8 @@ chrome.app.runtime.onLaunched.addListener(function() {
var authCode = results[0].substring(authCodePrefix.length);
sendNativeMessage('onAuthSucceeded', {code: authCode});
} else {
- showErrorMessage(
+ sendNativeMessage('onAuthFailed');
+ showErrorPage(
appWindow.contentWindow.loadTimeData.getString(
'authorizationFailed'));
}
« no previous file with comments | « chrome/browser/chromeos/arc/auth/arc_manual_auth_code_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698