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

Side by Side Diff: chrome/browser/resources/chromeos/login/encryption_migration.html

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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/encryption_migration.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 5 <link rel="import" href="chrome://resources/cr_elements/icons.html">
6 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 6 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
10 <link rel="import" href="chrome://oobe/custom_elements.html"> 10 <link rel="import" href="chrome://oobe/custom_elements.html">
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 <div class="subtitle">$i18n{migrationFailedSubtitle}</div> 83 <div class="subtitle">$i18n{migrationFailedSubtitle}</div>
84 </div> 84 </div>
85 <div class="footer"><div>$i18n{migrationFailedMessage}</div></div> 85 <div class="footer"><div>$i18n{migrationFailedMessage}</div></div>
86 <div class="bottom-buttons flex layout horizontal"> 86 <div class="bottom-buttons flex layout horizontal">
87 <div class="flex"></div> 87 <div class="flex"></div>
88 <if expr="_google_chrome"> 88 <if expr="_google_chrome">
89 <oobe-text-button border on-tap="onReportAnIssue_"> 89 <oobe-text-button border on-tap="onReportAnIssue_">
90 <div>$i18n{migrationButtonReportAnIssue}</div> 90 <div>$i18n{migrationButtonReportAnIssue}</div>
91 </oobe-text-button> 91 </oobe-text-button>
92 </if> 92 </if>
93 <oobe-text-button inverse on-tap="onRestart_"> 93 <oobe-text-button inverse on-tap="onRestartOnFailure_">
94 <div>$i18n{migrationButtonRestart}</div> 94 <div>$i18n{migrationButtonRestart}</div>
95 </oobe-text-button> 95 </oobe-text-button>
96 </div> 96 </div>
97 </oobe-dialog> 97 </oobe-dialog>
98 </template> 98 </template>
99 <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]"> 99 <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]">
100 <oobe-dialog tabindex="0" has-buttons> 100 <oobe-dialog tabindex="0" has-buttons>
101 <iron-icon class="oobe-icon chrome-logo"></iron-icon> 101 <iron-icon class="oobe-icon chrome-logo"></iron-icon>
102 <div class="header"> 102 <div class="header">
103 <h1 class="title">$i18n{migrationReadyTitle}</h1> 103 <h1 class="title">$i18n{migrationReadyTitle}</h1>
104 <div class="subtitle">$i18n{migrationReadyDescription}</div> 104 <div class="subtitle">$i18n{migrationReadyDescription}</div>
105 </div> 105 </div>
106 <div class="footer layout vertical" aria-live="polite"> 106 <div class="footer layout vertical" aria-live="polite">
107 <div class="warning">$i18n{migrationNospaceWarningLabel}</div> 107 <div class="warning">$i18n{migrationNospaceWarningLabel}</div>
108 <div>$i18n{migrationAskFreeSpaceMessage}</div> 108 <div>$i18n{migrationAskFreeSpaceMessage}</div>
109 <div>[[computeAvailableSpaceLabel_(availableSpaceInString)]]</div> 109 <div>[[computeAvailableSpaceLabel_(availableSpaceInString)]]</div>
110 <div>[[computeNecessarySpaceLabel_(necessarySpaceInString)]]</div> 110 <div>[[computeNecessarySpaceLabel_(necessarySpaceInString)]]</div>
111 </div> 111 </div>
112 <div class="bottom-buttons flex layout horizontal"> 112 <div class="bottom-buttons flex layout horizontal">
113 <div class="flex"></div> 113 <div class="flex"></div>
114 <template is="dom-if" if="[[!isResuming]]"> 114 <template is="dom-if" if="[[!isResuming]]">
115 <oobe-text-button inverse on-tap="onSkip_"> 115 <oobe-text-button inverse on-tap="onSkip_">
116 <div>$i18n{migrationButtonContinue}</div> 116 <div>$i18n{migrationButtonContinue}</div>
117 </oobe-text-button> 117 </oobe-text-button>
118 </template> 118 </template>
119 <template is="dom-if" if="[[isResuming]]"> 119 <template is="dom-if" if="[[isResuming]]">
120 <oobe-text-button inverse on-tap="onRestart_"> 120 <oobe-text-button inverse on-tap="onRestartOnLowStorage_">
121 <div>$i18n{migrationButtonRestart}</div> 121 <div>$i18n{migrationButtonRestart}</div>
122 </oobe-text-button> 122 </oobe-text-button>
123 </template> 123 </template>
124 </div> 124 </div>
125 </oobe-dialog> 125 </oobe-dialog>
126 </template> 126 </template>
127 </template> 127 </template>
128 </dom-module> 128 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/encryption_migration.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698