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

Side by Side Diff: chrome/browser/chromeos/login/screens/encryption_migration_screen_view.h

Issue 2779933002: Add a screen to migrate filesystem encryption from eCryptfs to ext4 crypto. (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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENCRYPTION_MIGRATION_SCREEN_VIEW_H _
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENCRYPTION_MIGRATION_SCREEN_VIEW_H _
7
8 #include "chrome/browser/chromeos/login/oobe_screen.h"
9
10 namespace chromeos {
11
12 class EncryptionMigrationScreenView {
13 public:
14 class Delegate {
15 public:
16 virtual ~Delegate() {}
17
18 // Called when screen is exited.
19 virtual void OnExit() = 0;
20
21 // This method is called, when view is being destroyed. Note, if Delegate is
22 // destroyed earlier then it has to call SetDelegate(NULL).
23 virtual void OnViewDestroyed(EncryptionMigrationScreenView* view) = 0;
24 };
25
26 constexpr static OobeScreen kScreenId =
27 OobeScreen::SCREEN_ENCRYPTION_MIGRATION;
28
29 virtual ~EncryptionMigrationScreenView() {}
30
31 virtual void Show() = 0;
32 virtual void Hide() = 0;
33 virtual void SetDelegate(Delegate* delegate) = 0;
34 };
35
36 } // namespace chromeos
37
38 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENCRYPTION_MIGRATION_SCREEN_VIE W_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698