 Chromium Code Reviews
 Chromium Code Reviews Issue 879233003:
  Initial RemoteCommandService  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@remote-commands
    
  
    Issue 879233003:
  Initial RemoteCommandService  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@remote-commands| 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); |