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

Unified Diff: chrome/browser/resources/chromeos/login/screen_encryption_migration.js

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/screen_encryption_migration.js
diff --git a/chrome/browser/resources/chromeos/login/screen_encryption_migration.js b/chrome/browser/resources/chromeos/login/screen_encryption_migration.js
index d75756859904b5aa08133efa135b664e64134ccd..ca8cc6d0047dadbb62dc60181ea65a9527f27136 100644
--- a/chrome/browser/resources/chromeos/login/screen_encryption_migration.js
+++ b/chrome/browser/resources/chromeos/login/screen_encryption_migration.js
@@ -8,6 +8,7 @@ login.createScreen('EncryptionMigrationScreen', 'encryption-migration',
EXTERNAL_API: [
'setUIState',
'setMigrationProgress',
+ 'setIsResuming',
],
/**
@@ -57,5 +58,14 @@ login.createScreen('EncryptionMigrationScreen', 'encryption-migration',
setMigrationProgress: function(progress) {
$('encryption-migration-element').progress = progress;
},
+
+ /**
+ * Updates the migration screen based on whether the migration process is
+ * resuming the previous one.
+ * @param {boolean} isResuming
+ */
+ setIsResuming: function(isResuming) {
+ $('encryption-migration-element').isResuming = isResuming;
+ },
};
});

Powered by Google App Engine
This is Rietveld 408576698