| OLD | NEW |
| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 if (view_ == view) | 44 if (view_ == view) |
| 45 view_ = nullptr; | 45 view_ = nullptr; |
| 46 } | 46 } |
| 47 | 47 |
| 48 void EncryptionMigrationScreen::SetUserContext( | 48 void EncryptionMigrationScreen::SetUserContext( |
| 49 const UserContext& user_context) { | 49 const UserContext& user_context) { |
| 50 DCHECK(view_); | 50 DCHECK(view_); |
| 51 view_->SetUserContext(user_context); | 51 view_->SetUserContext(user_context); |
| 52 } | 52 } |
| 53 | 53 |
| 54 void EncryptionMigrationScreen::SetLoginPerformer( |
| 55 LoginPerformer* login_performer) { |
| 56 DCHECK(view_); |
| 57 view_->SetLoginPerformer(login_performer); |
| 58 } |
| 59 |
| 54 } // namespace chromeos | 60 } // namespace chromeos |
| OLD | NEW |