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

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

Issue 9286003: Remove AsyncSetOwnerUser() from cryptohome library (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Ready to go. Created 8 years, 10 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.cc
diff --git a/chrome/browser/chromeos/cros/cryptohome_library.cc b/chrome/browser/chromeos/cros/cryptohome_library.cc
index a9183d55a282d34ffc1c9c4a59d1e01470870caa..315c92a15e16bee59aeff76681024f1047e6bc80 100644
--- a/chrome/browser/chromeos/cros/cryptohome_library.cc
+++ b/chrome/browser/chromeos/cros/cryptohome_library.cc
@@ -91,14 +91,6 @@ class CryptohomeLibraryImpl : public CryptohomeLibrary {
return chromeos::CryptohomeIsMounted();
}
- virtual bool AsyncSetOwnerUser(
- const std::string& username, Delegate* d) OVERRIDE {
- return CacheCallback(
- chromeos::CryptohomeAsyncSetOwnerUser(username.c_str()),
- d,
- "Couldn't do set owner user in Cryptohomed.");
- }
-
virtual bool TpmIsReady() OVERRIDE {
return chromeos::CryptohomeTpmIsReady();
}
@@ -309,14 +301,6 @@ class CryptohomeLibraryStubImpl : public CryptohomeLibrary {
return true;
}
- virtual bool AsyncSetOwnerUser(
- const std::string& username, Delegate* callback) OVERRIDE {
- BrowserThread::PostTask(
- BrowserThread::UI, FROM_HERE,
- base::Bind(&DoStubCallback, callback));
- return true;
- }
-
// Tpm begin ready after 20-th call.
virtual bool TpmIsReady() OVERRIDE {
static int counter = 0;
« no previous file with comments | « chrome/browser/chromeos/cros/cryptohome_library.h ('k') | chrome/browser/chromeos/cros/mock_cryptohome_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698