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

Unified Diff: chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h

Issue 2818393002: cros: Mount the existing eCryptfs vault to start migration. (Closed)
Patch Set: Fix a comment. 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h
index de278cd681066290f443fb469a03d881fe707b7b..f5b5a212ec2627dab3d15be963fa3e2dcdce4c2b 100644
--- a/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "chrome/browser/chromeos/login/screens/encryption_migration_screen_view.h"
#include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
+#include "chromeos/cryptohome/cryptohome_parameters.h"
#include "chromeos/dbus/power_manager_client.h"
#include "chromeos/login/auth/user_context.h"
#include "third_party/cros_system_api/dbus/cryptohome/dbus-constants.h"
@@ -61,11 +62,15 @@ class EncryptionMigrationScreenHandler : public EncryptionMigrationScreenView,
// Updates UI state.
void UpdateUIState(UIState state);
- // Requests cryptohome to start encryption migration.
void CheckAvailableStorage();
void OnGetAvailableStorage(int64_t size);
void WaitBatteryAndMigrate();
void StartMigration();
+ void OnMountExistingVault(bool success,
+ cryptohome::MountError return_code,
+ const std::string& mount_hash);
+ // Creates authorization key for MountEx method using |user_context_|.
+ cryptohome::KeyDefinition GetAuthKey();
// Handlers for cryptohome API callbacks.
void OnMigrationProgress(cryptohome::DircryptoMigrationStatus status,
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/encryption_migration_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698