diff options
author | antrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 16:36:42 +0000 |
---|---|---|
committer | antrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 16:36:42 +0000 |
commit | cbe40a808ee2b9f33d13defe42570173db36665d (patch) | |
tree | ca568581393838e27c441175ef3f6404e2964cee /chromeos/cryptohome/mock_async_method_caller.h | |
parent | c287f06c73b1b5bcc8bf85087a3a54c6c2925fe2 (diff) | |
download | chromium_src-cbe40a808ee2b9f33d13defe42570173db36665d.zip chromium_src-cbe40a808ee2b9f33d13defe42570173db36665d.tar.gz chromium_src-cbe40a808ee2b9f33d13defe42570173db36665d.tar.bz2 |
Add calls to cryptohome for adding extra keys.
BUG=243342
TBR=satorux@chromium.org
TEST=manual, on desktop/device - go through user creation flow
Review URL: https://chromiumcodereview.appspot.com/16950019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/cryptohome/mock_async_method_caller.h')
-rw-r--r-- | chromeos/cryptohome/mock_async_method_caller.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/cryptohome/mock_async_method_caller.h b/chromeos/cryptohome/mock_async_method_caller.h index 0bb0b29..45be7f8 100644 --- a/chromeos/cryptohome/mock_async_method_caller.h +++ b/chromeos/cryptohome/mock_async_method_caller.h @@ -38,6 +38,10 @@ class MockAsyncMethodCaller : public AsyncMethodCaller { const std::string& passhash, int flags, Callback callback)); + MOCK_METHOD4(AsyncAddKey, void(const std::string& user_email, + const std::string& passhash, + const std::string& new_key, + Callback callback)); MOCK_METHOD1(AsyncMountGuest, void(Callback callback)); MOCK_METHOD2(AsyncRemove, void(const std::string& user_email, Callback callback)); |