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..4cfc5e9b05e97de705123cf0dd7615fb076ca40f 100644 |
| --- a/components/policy/core/common/cloud/mock_cloud_policy_client.h |
| +++ b/components/policy/core/common/cloud/mock_cloud_policy_client.h |
| @@ -6,9 +6,12 @@ |
| #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" |
| +#include "components/policy/core/common/remote_commands/remote_command_job.h" |
| +#include "policy/proto/device_management_backend.pb.h" |
| #include "testing/gmock/include/gmock/gmock.h" |
| namespace policy { |
| @@ -34,6 +37,12 @@ class MockCloudPolicyClient : public CloudPolicyClient { |
| void(const enterprise_management::DeviceStatusReportRequest*, |
| const enterprise_management::SessionStatusReportRequest*, |
| const StatusCallback&)); |
| + MOCK_METHOD3( |
|
bartfab (slow)
2015/03/12 14:00:54
Why are you no longer mocking this method?
binjin
2015/03/12 14:08:36
It's not used in any other code, and scoped_ptr as
|
| + FetchRemoteCommands, |
| + void(RemoteCommandJob::UniqueIDType last_command_id, |
| + const std::vector<enterprise_management::RemoteCommandResult>& |
| + command_results, |
| + const RemoteCommandCallback& callback)); |
| // Sets the DMToken. |
| void SetDMToken(const std::string& token); |