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

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

Issue 879233003: Initial RemoteCommandService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remote-commands
Patch Set: fix last_command_id Created 5 years, 11 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/cloud_policy_client.h
diff --git a/components/policy/core/common/cloud/cloud_policy_client.h b/components/policy/core/common/cloud/cloud_policy_client.h
index fbc215def972becff2ada99a32ad7e550c8500a6..72544daab8ec9524bf792d2a4565f0033702a6b1 100644
--- a/components/policy/core/common/cloud/cloud_policy_client.h
+++ b/components/policy/core/common/cloud/cloud_policy_client.h
@@ -146,6 +146,9 @@ class POLICY_EXPORT CloudPolicyClient {
virtual void UploadCertificate(const std::string& certificate_data,
const StatusCallback& callback);
+ // XXX
+ virtual scoped_ptr<DeviceManagementRequestJob> CreateRemoteCommandsJob();
bartfab (slow) 2015/01/29 10:18:05 Why not have this method create a job and send it
binjin 2015/01/29 10:44:10 That will introduce some logic about how to constr
bartfab (slow) 2015/01/29 15:28:58 If you look at Drew's solution, this is exactly wh
+
// Adds an observer to be called back upon policy and state changes.
void AddObserver(Observer* observer);

Powered by Google App Engine
This is Rietveld 408576698