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

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

Issue 2784273003: Implement a basic UI flow for cryptohome encryption migration. (Closed)
Patch Set: Address review comments. 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 "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h" 8 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h"
9 #include "chrome/browser/chromeos/login/wizard_controller.h" 9 #include "chrome/browser/chromeos/login/wizard_controller.h"
10 10
(...skipping 27 matching lines...) Expand all
38 void EncryptionMigrationScreen::OnExit() { 38 void EncryptionMigrationScreen::OnExit() {
39 Finish(ScreenExitCode::ENCRYPTION_MIGRATION_FINISHED); 39 Finish(ScreenExitCode::ENCRYPTION_MIGRATION_FINISHED);
40 } 40 }
41 41
42 void EncryptionMigrationScreen::OnViewDestroyed( 42 void EncryptionMigrationScreen::OnViewDestroyed(
43 EncryptionMigrationScreenView* view) { 43 EncryptionMigrationScreenView* view) {
44 if (view_ == view) 44 if (view_ == view)
45 view_ = nullptr; 45 view_ = nullptr;
46 } 46 }
47 47
48 void EncryptionMigrationScreen::SetUserContext(
49 const UserContext& user_context) {
50 DCHECK(view_);
51 view_->SetUserContext(user_context);
52 }
53
48 } // namespace chromeos 54 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698