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

Unified Diff: chrome/browser/chromeos/cros/cryptohome_library.h

Issue 10382086: Determine whether user is ephemeral when coming back from a crash (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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/cros/cryptohome_library.h
diff --git a/chrome/browser/chromeos/cros/cryptohome_library.h b/chrome/browser/chromeos/cros/cryptohome_library.h
index 3f684b298d66da3771b0c7ef82812e281ad321d1..6cc56bbb4e27fd8438de0674bb2e3b5c081b5d38 100644
--- a/chrome/browser/chromeos/cros/cryptohome_library.h
+++ b/chrome/browser/chromeos/cros/cryptohome_library.h
@@ -20,6 +20,12 @@ class CryptohomeLibrary {
// Asks cryptohomed if a drive is currently mounted.
virtual bool IsMounted() = 0;
+ // Asks cryptohomed whether a cryptohome is currently mounted for the given
+ // user and if so, whether the mount is ephemeral.
+ virtual bool IsMountedForUser(const std::string& username,
+ bool* is_mounted,
+ bool* is_ephemeral_mount) = 0;
+
// Wrappers of the functions for working with Tpm.
// Returns whether Tpm is ready.
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/cryptohome_library.cc » ('j') | chrome/browser/chromeos/login/user_manager_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698