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

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

Issue 2811713002: Check the available storage size before starting encryption migration. (Closed)
Patch Set: Always check the available storage. Created 3 years, 8 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 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
8 <link rel="import" href="chrome://oobe/custom_elements.html"> 8 <link rel="import" href="chrome://oobe/custom_elements.html">
9 9
10 <dom-module id="encryption-migration"> 10 <dom-module id="encryption-migration">
11 <template> 11 <template>
12 <link rel="stylesheet" href="encryption_migration.css"> 12 <link rel="stylesheet" href="encryption_migration.css">
13 <link rel="stylesheet" href="oobe_dialog_parameters.css"> 13 <link rel="stylesheet" href="oobe_dialog_parameters.css">
14 <template is="dom-if" if="[[isInitial_(uiState)]]"> 14 <template is="dom-if" if="[[isInitial_(uiState)]]">
15 <oobe-dialog tabindex="0" has-buttons> 15 <oobe-dialog tabindex="0" has-buttons>
16 <p>Checking the system...</p>
17 </oobe-dialog>
18 </template>
19 <template is="dom-if" if="[[isReady_(uiState)]]">
20 <oobe-dialog tabindex="0" has-buttons>
16 <div class="header"> 21 <div class="header">
17 <h1 class="title">Your file system needs upgrade</h1> 22 <h1 class="title">Your file system needs upgrade</h1>
18 <div class="subtitle"> 23 <div class="subtitle">
19 Your file system needs to be upgraded to use Android applications. 24 Your file system needs to be upgraded to use Android applications.
20 String TBD. 25 String TBD.
21 </div> 26 </div>
22 </div> 27 </div>
23 <div class="bottom-buttons flex layout horizontal"> 28 <div class="bottom-buttons flex layout horizontal">
24 <div class="flex"></div> 29 <div class="flex"></div>
25 <oobe-text-button on-tap="onSkip_">Skip</oobe-text-button> 30 <oobe-text-button on-tap="onSkip_">Skip</oobe-text-button>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 The system encountered a problem during migration. String TBD. 69 The system encountered a problem during migration. String TBD.
65 </div> 70 </div>
66 </div> 71 </div>
67 <div class="bottom-buttons flex layout horizontal"> 72 <div class="bottom-buttons flex layout horizontal">
68 <div class="flex"></div> 73 <div class="flex"></div>
69 <oobe-text-button inverse on-tap="onRestart_">Restart 74 <oobe-text-button inverse on-tap="onRestart_">Restart
70 </oobe-text-button> 75 </oobe-text-button>
71 </div> 76 </div>
72 </oobe-dialog> 77 </oobe-dialog>
73 </template> 78 </template>
79 <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]">
80 <oobe-dialog tabindex="0" has-buttons>
81 <div class="header">
82 <h1 class="title">Not enough storage for update</h1>
83 <div class="subtitle">
84 Please free up some space on your device and sign in again.
85 </div>
86 </div>
87 <div class="bottom-buttons flex layout horizontal">
88 <div class="flex"></div>
89 <template is="dom-if" if="[[!isResuming]]">
90 <oobe-text-button inverse on-tap="onSkip_">Continue
91 </oobe-text-button>
92 </template>
93 <template is="dom-if" if="[[isResuming]]">
94 <oobe-text-button inverse on-tap="onRestart_">Restart
95 </oobe-text-button>
96 </template>
97 </div>
98 </oobe-dialog>
99 </template>
74 </template> 100 </template>
75 </dom-module> 101 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698