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

Unified Diff: chrome/browser/chromeos/cros/mock_cryptohome_library.h

Issue 8602006: chromeos: Remove unused code from CryptohomeLibrary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/mock_cryptohome_library.h
diff --git a/chrome/browser/chromeos/cros/mock_cryptohome_library.h b/chrome/browser/chromeos/cros/mock_cryptohome_library.h
index b80a9a7cf7b0dce38665b64cdf0262e03a1d02be..439672d38f75bba624b2a2a3ab75142943facebd 100644
--- a/chrome/browser/chromeos/cros/mock_cryptohome_library.h
+++ b/chrome/browser/chromeos/cros/mock_cryptohome_library.h
@@ -25,33 +25,21 @@ class MockCryptohomeLibrary : public CryptohomeLibrary {
void SetUp(bool outcome, int code);
MOCK_METHOD0(Init, void(void));
- MOCK_METHOD2(CheckKey, bool(const std::string& user_email,
- const std::string& passhash));
MOCK_METHOD3(AsyncCheckKey, bool(const std::string& user_email,
const std::string& passhash,
Delegate* callback));
- MOCK_METHOD3(MigrateKey, bool(const std::string& user_email,
- const std::string& old_hash,
- const std::string& new_hash));
MOCK_METHOD4(AsyncMigrateKey, bool(const std::string& user_email,
const std::string& old_hash,
const std::string& new_hash,
Delegate* callback));
- MOCK_METHOD3(Mount, bool(const std::string& user_email,
- const std::string& passhash,
- int* error_code));
MOCK_METHOD4(AsyncMount, bool(const std::string& user_email,
const std::string& passhash,
const bool create_if_missing,
Delegate* callback));
- MOCK_METHOD1(MountForBwsi, bool(int*));
MOCK_METHOD1(AsyncMountForBwsi, bool(Delegate* callback));
- MOCK_METHOD0(Unmount, bool(void));
- MOCK_METHOD1(Remove, bool(const std::string& user_email));
MOCK_METHOD2(AsyncRemove, bool(const std::string& user_email, Delegate* d));
MOCK_METHOD0(IsMounted, bool(void));
MOCK_METHOD0(GetSystemSalt, CryptohomeBlob(void));
- MOCK_METHOD1(AsyncDoAutomaticFreeDiskSpaceControl, bool(Delegate* callback));
MOCK_METHOD2(AsyncSetOwnerUser, bool(const std::string&, Delegate* callback));
MOCK_METHOD0(TpmIsReady, bool(void));
@@ -67,10 +55,8 @@ class MockCryptohomeLibrary : public CryptohomeLibrary {
MOCK_METHOD2(InstallAttributesGet, bool(const std::string&, std::string*));
MOCK_METHOD2(InstallAttributesSet, bool(const std::string&,
const std::string&));
- MOCK_METHOD0(InstallAttributesCount, int(void));
MOCK_METHOD0(InstallAttributesFinalize, bool(void));
MOCK_METHOD0(InstallAttributesIsReady, bool(void));
- MOCK_METHOD0(InstallAttributesIsSecure, bool(void));
MOCK_METHOD0(InstallAttributesIsInvalid, bool(void));
MOCK_METHOD0(InstallAttributesIsFirstInstall, bool(void));
« no previous file with comments | « chrome/browser/chromeos/cros/cryptohome_library.cc ('k') | chrome/browser/chromeos/cros/mock_cryptohome_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698