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; |