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

Issue 2811713002: Check the available storage size before starting encryption migration. (Closed)

Created:
3 years, 8 months ago by fukino
Modified:
3 years, 8 months ago
Reviewers:
xiyuan, gwendal
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Check the available storage size before starting encryption migration. When the device storage is critically low (<10MB), we should not start migration. Instead, we should tell the user that the migration needs some space, and let the user log in to Desktop. After the user signs in to the Desktop, the user will see an existing system notification which says that the device storage is critically low. BUG=706017 TEST=manually tested the new screen by modifying kMinimumAvailableStorage to a big value. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2811713002 Cr-Commit-Position: refs/heads/master@{#463935} Committed: https://chromium.googlesource.com/chromium/src/+/607e4843c7c95c472dc00bb54127a8010fbbe826

Patch Set 1 #

Patch Set 2 : . #

Total comments: 7

Patch Set 3 : Always check the available storage. #

Messages

Total messages: 21 (11 generated)
fukino
Xiyuan, could you take a look? I'm sorry to take up your time by consecutive ...
3 years, 8 months ago (2017-04-10 12:08:51 UTC) #3
xiyuan
https://codereview.chromium.org/2811713002/diff/20001/chrome/browser/resources/chromeos/login/encryption_migration.html File chrome/browser/resources/chromeos/login/encryption_migration.html (right): https://codereview.chromium.org/2811713002/diff/20001/chrome/browser/resources/chromeos/login/encryption_migration.html#newcode79 chrome/browser/resources/chromeos/login/encryption_migration.html:79: <template is="dom-if" if="[[isNotEnoughSpace_(uiState)]]"> On 2017/04/10 12:08:50, fukino wrote: > ...
3 years, 8 months ago (2017-04-10 17:24:55 UTC) #4
xiyuan
No big issues with the CL. So lgtm because of the ticking clock on branch ...
3 years, 8 months ago (2017-04-10 17:28:02 UTC) #5
fukino
Hi Gwendal, I have a question. https://codereview.chromium.org/2811713002/diff/20001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc (right): https://codereview.chromium.org/2811713002/diff/20001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc#newcode23 chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc:23: constexpr char kCheckStoragePath[] ...
3 years, 8 months ago (2017-04-10 23:04:58 UTC) #7
gwendal1
On 2017/04/10 23:04:58, fukino wrote: > Hi Gwendal, I have a question. > > https://codereview.chromium.org/2811713002/diff/20001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc ...
3 years, 8 months ago (2017-04-11 07:53:45 UTC) #8
fukino
On 2017/04/11 07:53:45, gwendal1 wrote: > On 2017/04/10 23:04:58, fukino wrote: > > Hi Gwendal, ...
3 years, 8 months ago (2017-04-11 09:07:01 UTC) #9
fukino
On 2017/04/11 07:53:45, gwendal1 wrote: > There is already an API in cryptohomed to free ...
3 years, 8 months ago (2017-04-12 01:31:51 UTC) #10
fukino
https://codereview.chromium.org/2811713002/diff/20001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc (right): https://codereview.chromium.org/2811713002/diff/20001/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc#newcode81 chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc:81: // TODO(fukino): Handle the following case. On 2017/04/10 17:24:55, ...
3 years, 8 months ago (2017-04-12 01:43:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2811713002/40001
3 years, 8 months ago (2017-04-12 05:18:27 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 05:25:02 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/607e4843c7c95c472dc00bb54127...

Powered by Google App Engine
This is Rietveld 408576698