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

Unified Diff: components/policy/core/common/cloud/mock_cloud_policy_client.h

Issue 879233003: Initial RemoteCommandService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remote-commands
Patch Set: WIP Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
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,
+ const std::vector<enterprise_management::RemoteCommandResult>&
+ command_results,
+ const RemoteCommandCallback& callback));
// Sets the DMToken.
void SetDMToken(const std::string& token);

Powered by Google App Engine
This is Rietveld 408576698