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

Unified Diff: chromeos/cryptohome/homedir_methods.h

Issue 2748743004: cryptohome: Add dbus method and signal name for encryption migration. (Closed)
Patch Set: Roll DEPS Created 3 years, 9 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 | « DEPS ('k') | chromeos/cryptohome/homedir_methods.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cryptohome/homedir_methods.h
diff --git a/chromeos/cryptohome/homedir_methods.h b/chromeos/cryptohome/homedir_methods.h
index 2e54b74cdd5c0650f32b07dbc368d8e672711f7e..fdd3e6308e1ba4d37ebdb12e300170468a021202 100644
--- a/chromeos/cryptohome/homedir_methods.h
+++ b/chromeos/cryptohome/homedir_methods.h
@@ -34,6 +34,7 @@ class CHROMEOS_EXPORT HomedirMethods {
MountCallback;
typedef base::Callback<void(bool success, int64_t size)>
GetAccountDiskUsageCallback;
+ typedef base::Callback<void(bool success)> DBusResultCallback;
virtual ~HomedirMethods() {}
@@ -105,6 +106,12 @@ class CHROMEOS_EXPORT HomedirMethods {
const Identification& id,
const GetAccountDiskUsageCallback& callback) = 0;
+ // Asks cryptohomed to migrate the cryptohome to the new encryption method
+ // for the user specified by |id|, using |auth| to unlock the key.
+ virtual void MigrateToDircrypto(const Identification& id,
+ const Authorization& auth,
+ const DBusResultCallback& callback) = 0;
+
// Creates the global HomedirMethods instance.
static void Initialize();
« no previous file with comments | « DEPS ('k') | chromeos/cryptohome/homedir_methods.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698