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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/login/encryption_migration.html
diff --git a/chrome/browser/resources/chromeos/login/encryption_migration.html b/chrome/browser/resources/chromeos/login/encryption_migration.html
index 6a76c3ee20f5386c41dee66535996e647d574bd6..b1d5d84ea205aaf2401708f348e74a4e7ae3226e 100644
--- a/chrome/browser/resources/chromeos/login/encryption_migration.html
+++ b/chrome/browser/resources/chromeos/login/encryption_migration.html
@@ -13,6 +13,11 @@
<link rel="stylesheet" href="oobe_dialog_parameters.css">
<template is="dom-if" if="[[isInitial_(uiState)]]">
<oobe-dialog tabindex="0" has-buttons>
+ <p>Checking the system...</p>
+ </oobe-dialog>
+ </template>
+ <template is="dom-if" if="[[isReady_(uiState)]]">
+ <oobe-dialog tabindex="0" has-buttons>
<div class="header">
<h1 class="title">Your file system needs upgrade</h1>
<div class="subtitle">
@@ -71,5 +76,26 @@
</div>
</oobe-dialog>
</template>
+ <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]">
+ <oobe-dialog tabindex="0" has-buttons>
+ <div class="header">
+ <h1 class="title">Not enough storage for update</h1>
+ <div class="subtitle">
+ Please free up some space on your device and sign in again.
+ </div>
+ </div>
+ <div class="bottom-buttons flex layout horizontal">
+ <div class="flex"></div>
+ <template is="dom-if" if="[[!isResuming]]">
+ <oobe-text-button inverse on-tap="onSkip_">Continue
+ </oobe-text-button>
+ </template>
+ <template is="dom-if" if="[[isResuming]]">
+ <oobe-text-button inverse on-tap="onRestart_">Restart
+ </oobe-text-button>
+ </template>
+ </div>
+ </oobe-dialog>
+ </template>
</template>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698