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

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

Issue 2801873007: Resume encryption migration immediately if the previous migration is incomplete. (Closed)
Patch Set: 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 if (view_ == view) 46 if (view_ == view)
47 view_ = nullptr; 47 view_ = nullptr;
48 } 48 }
49 49
50 void EncryptionMigrationScreen::SetUserContext( 50 void EncryptionMigrationScreen::SetUserContext(
51 const UserContext& user_context) { 51 const UserContext& user_context) {
52 DCHECK(view_); 52 DCHECK(view_);
53 view_->SetUserContext(user_context); 53 view_->SetUserContext(user_context);
54 } 54 }
55 55
56 void EncryptionMigrationScreen::SetShouldResume(bool should_resume) {
57 DCHECK(view_);
58 view_->SetShouldResume(should_resume);
59 }
60
56 void EncryptionMigrationScreen::SetContinueLoginCallback( 61 void EncryptionMigrationScreen::SetContinueLoginCallback(
57 ContinueLoginCallback callback) { 62 ContinueLoginCallback callback) {
58 DCHECK(view_); 63 DCHECK(view_);
59 view_->SetContinueLoginCallback(std::move(callback)); 64 view_->SetContinueLoginCallback(std::move(callback));
60 } 65 }
61 66
62 } // namespace chromeos 67 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698