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

Side by Side Diff: src/platform/cryptohome/mock_authenticator.h

Issue 2051003: Initial patch from Will. (Closed) Base URL: ssh://git@chromiumos-git/chromiumos
Patch Set: Address style nits. Created 10 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CRYPTOHOME_MOCK_AUTHENTICATOR_H_
6 #define CRYPTOHOME_MOCK_AUTHENTICATOR_H_
7
8 #include "cryptohome/authenticator.h"
9
10 #include <gmock/gmock.h>
11
12 namespace cryptohome {
13 class Credentials;
14
15 class MockAuthenticator : public Authenticator {
16 public:
17 MockAuthenticator() {}
18 ~MockAuthenticator() {}
19 MOCK_METHOD0(Init, bool());
20 MOCK_CONST_METHOD1(TestAllMasterKeys, bool(const Credentials&));
21 };
22 } // namespace cryptohome
23
24 #endif // CRYPTOHOME_MOCK_AUTHENTICATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698