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

Unified Diff: chromeos/dbus/mock_cryptohome_client.h

Issue 10830033: Convert chromeos::CryptohomeClient::TpmCanAttemptOwnership to asynchronous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« chromeos/dbus/cryptohome_client.h ('K') | « chromeos/dbus/cryptohome_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_cryptohome_client.h
diff --git a/chromeos/dbus/mock_cryptohome_client.h b/chromeos/dbus/mock_cryptohome_client.h
index d40f083d3b5d0749bb50639accc3d2e4d846ff30..b7bb9e62067027fff68d696f31fe5269067a62ea 100644
--- a/chromeos/dbus/mock_cryptohome_client.h
+++ b/chromeos/dbus/mock_cryptohome_client.h
@@ -46,7 +46,8 @@ class MockCryptohomeClient : public CryptohomeClient {
MOCK_METHOD1(TpmGetPassword, void(const StringMethodCallback& callback));
MOCK_METHOD1(TpmIsOwned, bool(bool* owned));
MOCK_METHOD1(TpmIsBeingOwned, bool(bool* owning));
- MOCK_METHOD0(TpmCanAttemptOwnership, bool());
+ MOCK_METHOD1(TpmCanAttemptOwnership,
+ void(const VoidMethodCallback& callback));
MOCK_METHOD0(TpmClearStoredPassword, bool());
MOCK_METHOD1(Pkcs11IsTpmTokenReady, void(const BoolMethodCallback& callback));
MOCK_METHOD1(Pkcs11GetTpmTokenInfo,
« chromeos/dbus/cryptohome_client.h ('K') | « chromeos/dbus/cryptohome_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698