Chromium Code Reviews| Index: components/policy/core/common/cloud/mock_cloud_policy_client.h |
| diff --git a/components/policy/core/common/cloud/mock_cloud_policy_client.h b/components/policy/core/common/cloud/mock_cloud_policy_client.h |
| index f297221d4255940f2c91ecf0dca9439a9c557052..d3e38e1300dc9bfced2685a5e886b18807d7c085 100644 |
| --- a/components/policy/core/common/cloud/mock_cloud_policy_client.h |
| +++ b/components/policy/core/common/cloud/mock_cloud_policy_client.h |
| @@ -6,6 +6,7 @@ |
| #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_MOCK_CLOUD_POLICY_CLIENT_H_ |
| #include <string> |
| +#include <vector> |
| #include "base/basictypes.h" |
| #include "components/policy/core/common/cloud/cloud_policy_client.h" |
| @@ -34,6 +35,12 @@ class MockCloudPolicyClient : public CloudPolicyClient { |
| void(const enterprise_management::DeviceStatusReportRequest*, |
| const enterprise_management::SessionStatusReportRequest*, |
| const StatusCallback&)); |
| + MOCK_METHOD3( |
| + FetchRemoteCommands, |
| + void(RemoteCommandJob::UniqueIDType last_command_id, |
|
bartfab (slow)
2015/02/28 00:01:23
Nit: #include "components/policy/core/common/remot
binjin
2015/02/28 02:18:05
Done.
|
| + const std::vector<enterprise_management::RemoteCommandResult>& |
|
bartfab (slow)
2015/02/28 00:01:22
Nit: #include "policy/proto/device_management_back
binjin
2015/02/28 02:18:05
Done.
|
| + command_results, |
| + const RemoteCommandCallback& callback)); |
| // Sets the DMToken. |
| void SetDMToken(const std::string& token); |