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

Unified Diff: chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc

Issue 10817007: Remove chromeos::CryptohomeLibrary::IsMounted and convert (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 5 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/ui/webui/chromeos/cryptohome_web_ui_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc b/chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc
index 5f450aaa4aef0351a11bc0edaa86c6ed8d119c10..add4ee745cc9a195e0c67713e6b726cea0f0bc7f 100644
--- a/chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc
@@ -31,8 +31,7 @@ void CryptohomeWebUIHandler::OnPageLoaded(const base::ListValue* args) {
CryptohomeLibrary* cryptohome_library =
CrosLibrary::Get()->GetCryptohomeLibrary();
- base::FundamentalValue is_mounted(cryptohome_library->IsMounted());
- SetCryptohomeProperty("is-mounted", is_mounted);
+ cryptohome_client->IsMounted(GetCryptohomeBoolCallback("is-mounted"));
cryptohome_client->TpmIsReady(GetCryptohomeBoolCallback("tpm-is-ready"));
base::FundamentalValue tpm_is_enabled(cryptohome_library->TpmIsEnabled());
SetCryptohomeProperty("tpm-is-enabled", tpm_is_enabled);

Powered by Google App Engine
This is Rietveld 408576698