OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
6 #define CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "chromeos/dbus/cryptohome_client.h" | 10 #include "chromeos/dbus/cryptohome_client.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
13 | 12 |
14 namespace chromeos { | 13 namespace chromeos { |
15 | 14 |
16 class MockCryptohomeClient : public CryptohomeClient { | 15 class MockCryptohomeClient : public CryptohomeClient { |
17 public: | 16 public: |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 bool* successful)); | 61 bool* successful)); |
63 MOCK_METHOD1(InstallAttributesFinalize, bool(bool* successful)); | 62 MOCK_METHOD1(InstallAttributesFinalize, bool(bool* successful)); |
64 MOCK_METHOD1(InstallAttributesIsReady, bool(bool* is_ready)); | 63 MOCK_METHOD1(InstallAttributesIsReady, bool(bool* is_ready)); |
65 MOCK_METHOD1(InstallAttributesIsInvalid, bool(bool* is_invalid)); | 64 MOCK_METHOD1(InstallAttributesIsInvalid, bool(bool* is_invalid)); |
66 MOCK_METHOD1(InstallAttributesIsFirstInstall, bool(bool* is_first_install)); | 65 MOCK_METHOD1(InstallAttributesIsFirstInstall, bool(bool* is_first_install)); |
67 }; | 66 }; |
68 | 67 |
69 } // namespace chromeos | 68 } // namespace chromeos |
70 | 69 |
71 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 70 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
OLD | NEW |