| 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 13145d30dba30fdf7658796466f4fa4df3d58ecb..38006ca34511d514f5d276f2dacf8084e9db373d 100644
|
| --- a/chrome/browser/chromeos/cros/cryptohome_library.cc
|
| +++ b/chrome/browser/chromeos/cros/cryptohome_library.cc
|
| @@ -85,6 +85,10 @@ class CryptohomeLibraryImpl : public CryptohomeLibrary {
|
| "Couldn't initiate async mount of cryptohome.");
|
| }
|
|
|
| + bool Unmount() {
|
| + return chromeos::CryptohomeUnmount();
|
| + }
|
| +
|
| bool Remove(const std::string& user_email) {
|
| return chromeos::CryptohomeRemove(user_email.c_str());
|
| }
|
| @@ -178,17 +182,6 @@ class CryptohomeLibraryStubImpl : public CryptohomeLibrary {
|
| return true;
|
| }
|
|
|
| - bool Remove(const std::string& user_email) {
|
| - return true;
|
| - }
|
| -
|
| - bool AsyncRemove(const std::string& user_email, Delegate* callback) {
|
| - ChromeThread::PostTask(
|
| - ChromeThread::UI, FROM_HERE,
|
| - NewRunnableFunction(&DoStubCallback, callback));
|
| - return true;
|
| - }
|
| -
|
| bool Mount(const std::string& user_email,
|
| const std::string& passhash,
|
| int* error_code) {
|
| @@ -216,6 +209,21 @@ class CryptohomeLibraryStubImpl : public CryptohomeLibrary {
|
| return true;
|
| }
|
|
|
| + bool Unmount() {
|
| + return true;
|
| + }
|
| +
|
| + bool Remove(const std::string& user_email) {
|
| + return true;
|
| + }
|
| +
|
| + bool AsyncRemove(const std::string& user_email, Delegate* callback) {
|
| + ChromeThread::PostTask(
|
| + ChromeThread::UI, FROM_HERE,
|
| + NewRunnableFunction(&DoStubCallback, callback));
|
| + return true;
|
| + }
|
| +
|
| bool IsMounted() {
|
| return true;
|
| }
|
|
|