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

Unified Diff: chrome/browser/chromeos/login/screens/encryption_migration_screen_view.h

Issue 2798023005: Force encryption migration if the device supports ARC. (Closed)
Patch Set: Add enable-encryption-migration to histgrams.xml. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/screens/encryption_migration_screen_view.h
diff --git a/chrome/browser/chromeos/login/screens/encryption_migration_screen_view.h b/chrome/browser/chromeos/login/screens/encryption_migration_screen_view.h
index 5ff8dc81c90748257cedd950fe0153e7417bbb16..4aaeaf8d34baf325c9a4fdb0ea83a84654bc0139 100644
--- a/chrome/browser/chromeos/login/screens/encryption_migration_screen_view.h
+++ b/chrome/browser/chromeos/login/screens/encryption_migration_screen_view.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENCRYPTION_MIGRATION_SCREEN_VIEW_H_
#include "chrome/browser/chromeos/login/oobe_screen.h"
+#include "chromeos/login/auth/login_performer.h"
namespace chromeos {
@@ -13,6 +14,10 @@ class UserContext;
class EncryptionMigrationScreenView {
public:
+ using ContinueLoginCallback =
+ base::OnceCallback<void(const UserContext&,
+ LoginPerformer::AuthorizationMode)>;
+
class Delegate {
public:
virtual ~Delegate() {}
@@ -34,6 +39,7 @@ class EncryptionMigrationScreenView {
virtual void Hide() = 0;
virtual void SetDelegate(Delegate* delegate) = 0;
virtual void SetUserContext(const UserContext& user_context) = 0;
+ virtual void SetContinueLoginCallback(ContinueLoginCallback callback) = 0;
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698