| 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_SESSION_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_SESSION_MANAGER_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_MOCK_SESSION_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_SESSION_MANAGER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chromeos/dbus/session_manager_client.h" | 10 #include "chromeos/dbus/session_manager_client.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 MOCK_METHOD2(RetrievePolicyForUser, | 36 MOCK_METHOD2(RetrievePolicyForUser, |
| 37 void(const std::string&, | 37 void(const std::string&, |
| 38 const RetrievePolicyCallback&)); | 38 const RetrievePolicyCallback&)); |
| 39 MOCK_METHOD1(BlockingRetrievePolicyForUser, std::string(const std::string&)); | 39 MOCK_METHOD1(BlockingRetrievePolicyForUser, std::string(const std::string&)); |
| 40 MOCK_METHOD2(RetrieveDeviceLocalAccountPolicy, | 40 MOCK_METHOD2(RetrieveDeviceLocalAccountPolicy, |
| 41 void(const std::string&, | 41 void(const std::string&, |
| 42 const RetrievePolicyCallback&)); | 42 const RetrievePolicyCallback&)); |
| 43 MOCK_METHOD2(StoreDevicePolicy, | 43 MOCK_METHOD2(StoreDevicePolicy, |
| 44 void(const std::string&, | 44 void(const std::string&, |
| 45 const StorePolicyCallback&)); | 45 const StorePolicyCallback&)); |
| 46 MOCK_METHOD3(StorePolicyForUser, | 46 MOCK_METHOD4(StorePolicyForUser, |
| 47 void(const std::string&, | 47 void(const std::string&, |
| 48 const std::string&, | 48 const std::string&, |
| 49 const std::string&, |
| 49 const StorePolicyCallback&)); | 50 const StorePolicyCallback&)); |
| 50 MOCK_METHOD3(StoreDeviceLocalAccountPolicy, | 51 MOCK_METHOD3(StoreDeviceLocalAccountPolicy, |
| 51 void(const std::string&, | 52 void(const std::string&, |
| 52 const std::string&, | 53 const std::string&, |
| 53 const StorePolicyCallback&)); | 54 const StorePolicyCallback&)); |
| 54 MOCK_METHOD2(SetFlagsForUser, | 55 MOCK_METHOD2(SetFlagsForUser, |
| 55 void(const std::string&, | 56 void(const std::string&, |
| 56 const std::vector<std::string>&)); | 57 const std::vector<std::string>&)); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 } // namespace chromeos | 60 } // namespace chromeos |
| 60 | 61 |
| 61 #endif // CHROMEOS_DBUS_MOCK_SESSION_MANAGER_CLIENT_H_ | 62 #endif // CHROMEOS_DBUS_MOCK_SESSION_MANAGER_CLIENT_H_ |
| OLD | NEW |