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

Unified Diff: chrome/browser/resources/chromeos/login/encryption_migration.js

Issue 2910423002: cros: Add UMA metrics in migration UI to get more information from migration failures. (Closed)
Patch Set: Use histograms instead of user actions. Created 3 years, 7 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
Index: chrome/browser/resources/chromeos/login/encryption_migration.js
diff --git a/chrome/browser/resources/chromeos/login/encryption_migration.js b/chrome/browser/resources/chromeos/login/encryption_migration.js
index 5a99b34bebf9d5ad5233d3a3b40db07c039e8fa4..92ee445d1376fbcc4c880d54140be92da817756b 100644
--- a/chrome/browser/resources/chromeos/login/encryption_migration.js
+++ b/chrome/browser/resources/chromeos/login/encryption_migration.js
@@ -221,6 +221,14 @@ Polymer({
},
/**
+ * Handles tap on RESTART button on the migration failure screen.
+ * @private
+ */
+ onRestartOnFailure_: function() {
+ this.fire('restart-on-failure');
+ },
+
+ /**
* Handles tap on REPORT AN ISSUE button.
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698