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

Unified Diff: chrome/browser/chromeos/dbus/cryptohome_client.h

Issue 9466005: Make sure the device recovers from policy loss in the consumer case. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased on ToT and cleaned up comments and unrelated changes. Created 8 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
Index: chrome/browser/chromeos/dbus/cryptohome_client.h
diff --git a/chrome/browser/chromeos/dbus/cryptohome_client.h b/chrome/browser/chromeos/dbus/cryptohome_client.h
index a7a1d05eea621f911cdb108e74a7ce94715966d2..17f5a4143a45d28a520df3c9934cace1e6446423 100644
--- a/chrome/browser/chromeos/dbus/cryptohome_client.h
+++ b/chrome/browser/chromeos/dbus/cryptohome_client.h
@@ -61,6 +61,10 @@ class CryptohomeClient {
// This method blocks until the call returns.
virtual bool IsMounted(bool* is_mounted) = 0;
+ // Calls Unmount method and returns true when the call succeeds.
+ // This method blocks until the call returns.
+ virtual bool Unmount(bool* success) = 0;
+
// Calls AsyncCheckKey method. |callback| is called after the method call
// succeeds.
virtual void AsyncCheckKey(const std::string& username,

Powered by Google App Engine
This is Rietveld 408576698