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

Side by Side Diff: chrome/browser/chromeos/login/screens/encryption_migration_screen.cc

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 #include "chrome/browser/chromeos/login/screens/encryption_migration_screen.h" 5 #include "chrome/browser/chromeos/login/screens/encryption_migration_screen.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h" 10 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 DCHECK(view_); 57 DCHECK(view_);
58 view_->SetShouldResume(should_resume); 58 view_->SetShouldResume(should_resume);
59 } 59 }
60 60
61 void EncryptionMigrationScreen::SetContinueLoginCallback( 61 void EncryptionMigrationScreen::SetContinueLoginCallback(
62 ContinueLoginCallback callback) { 62 ContinueLoginCallback callback) {
63 DCHECK(view_); 63 DCHECK(view_);
64 view_->SetContinueLoginCallback(std::move(callback)); 64 view_->SetContinueLoginCallback(std::move(callback));
65 } 65 }
66 66
67 void EncryptionMigrationScreen::SetupInitialView() {
68 DCHECK(view_);
69 view_->SetupInitialView();
70 }
71
67 } // namespace chromeos 72 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698