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

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: Rebase. 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..c16691074070ff856b928a71bb06ba10e953faa5 100644
--- a/chrome/browser/resources/chromeos/login/encryption_migration.js
+++ b/chrome/browser/resources/chromeos/login/encryption_migration.js
@@ -216,8 +216,16 @@ Polymer({
* Handles tap on RESTART button.
* @private
*/
- onRestart_: function() {
- this.fire('restart');
+ onRestartOnLowStorage_: function() {
+ this.fire('restart-on-low-storage');
+ },
+
+ /**
+ * Handles tap on RESTART button on the migration failure screen.
+ * @private
+ */
+ onRestartOnFailure_: function() {
+ this.fire('restart-on-failure');
},
/**

Powered by Google App Engine
This is Rietveld 408576698