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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Polymer element for displaying encryption migration screen. 6 * @fileoverview Polymer element for displaying encryption migration screen.
7 */ 7 */
8 8
9 /** 9 /**
10 * Enum for the UI states corresponding to sub steps inside migration screen. 10 * Enum for the UI states corresponding to sub steps inside migration screen.
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 * @private 209 * @private
210 */ 210 */
211 onSkip_: function() { 211 onSkip_: function() {
212 this.fire('skip'); 212 this.fire('skip');
213 }, 213 },
214 214
215 /** 215 /**
216 * Handles tap on RESTART button. 216 * Handles tap on RESTART button.
217 * @private 217 * @private
218 */ 218 */
219 onRestart_: function() { 219 onRestartOnLowStorage_: function() {
220 this.fire('restart'); 220 this.fire('restart-on-low-storage');
221 }, 221 },
222 222
223 /** 223 /**
224 * Handles tap on RESTART button on the migration failure screen.
225 * @private
226 */
227 onRestartOnFailure_: function() {
228 this.fire('restart-on-failure');
229 },
230
231 /**
224 * Handles tap on REPORT AN ISSUE button. 232 * Handles tap on REPORT AN ISSUE button.
225 * @private 233 * @private
226 */ 234 */
227 onReportAnIssue_: function() { 235 onReportAnIssue_: function() {
228 this.fire('openFeedbackDialog'); 236 this.fire('openFeedbackDialog');
229 }, 237 },
230 }); 238 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698