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

Unified Diff: chromeos/dbus/mock_cryptohome_client.h

Issue 12094075: Added GetSanitizedUsername() method to CryptohomeClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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
« no previous file with comments | « 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 f0a49b2855734e7f46e9c5b37b6663ad170a4261..26a6bd2b6c86ad63cbfc73fb8569ce45dddfe1f4 100644
--- a/chromeos/dbus/mock_cryptohome_client.h
+++ b/chromeos/dbus/mock_cryptohome_client.h
@@ -35,6 +35,9 @@ class MockCryptohomeClient : public CryptohomeClient {
MOCK_METHOD2(AsyncRemove, void(const std::string& username,
const AsyncMethodCallback& callback));
MOCK_METHOD1(GetSystemSalt, bool(std::vector<uint8>* salt));
+ MOCK_METHOD2(GetSanitizedUsername,
+ void(const std::string& username,
+ const StringDBusMethodCallback& callback));
MOCK_METHOD4(AsyncMount, void(const std::string& username,
const std::string& key,
int flags,
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698