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

Unified Diff: chromeos/cryptohome/homedir_methods.h

Issue 1738023002: ChromeOS: Add RenameCryptohome and migration code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@462823--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part11--migrate-cryptohomes
Patch Set: Update after review. Created 4 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 | « no previous file | 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 17f0f55a82101b75302a11bcf676687370e25de0..3f40f4a45afdc7283f282a3abffd7e3d6c150b5c 100644
--- a/chromeos/cryptohome/homedir_methods.h
+++ b/chromeos/cryptohome/homedir_methods.h
@@ -89,6 +89,12 @@ class CHROMEOS_EXPORT HomedirMethods {
const std::string& label,
const Callback& callback) = 0;
+ // Asks cryptohomed to change cryptohome identification |id_from| to |id_to|,
+ // which results in cryptohome directory renaming.
+ virtual void RenameCryptohome(const Identification& id_from,
+ const Identification& id_to,
+ const Callback& callback) = 0;
+
// Creates the global HomedirMethods instance.
static void Initialize();
« no previous file with comments | « no previous file | chromeos/cryptohome/homedir_methods.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698