Home
last modified time | relevance | path

Searched refs:DeviceManagementRequestJob (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/components/policy/core/common/cloud/
Ddevice_management_service.cc111 const char* JobTypeToRequestType(DeviceManagementRequestJob::JobType type) { in JobTypeToRequestType()
113 case DeviceManagementRequestJob::TYPE_AUTO_ENROLLMENT: in JobTypeToRequestType()
115 case DeviceManagementRequestJob::TYPE_REGISTRATION: in JobTypeToRequestType()
117 case DeviceManagementRequestJob::TYPE_POLICY_FETCH: in JobTypeToRequestType()
119 case DeviceManagementRequestJob::TYPE_API_AUTH_CODE_FETCH: in JobTypeToRequestType()
121 case DeviceManagementRequestJob::TYPE_UNREGISTRATION: in JobTypeToRequestType()
123 case DeviceManagementRequestJob::TYPE_UPLOAD_CERTIFICATE: in JobTypeToRequestType()
125 case DeviceManagementRequestJob::TYPE_DEVICE_STATE_RETRIEVAL: in JobTypeToRequestType()
135 class DeviceManagementRequestJobImpl : public DeviceManagementRequestJob {
194 : DeviceManagementRequestJob(type, agent_parameter, platform_parameter), in DeviceManagementRequestJobImpl()
[all …]
Ddevice_management_service_unittest.cc79 DeviceManagementRequestJob* StartRegistrationJob() { in StartRegistrationJob()
80 DeviceManagementRequestJob* job = in StartRegistrationJob()
81 service_->CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, in StartRegistrationJob()
94 DeviceManagementRequestJob* StartApiAuthCodeFetchJob() { in StartApiAuthCodeFetchJob()
95 DeviceManagementRequestJob* job = service_->CreateJob( in StartApiAuthCodeFetchJob()
96 DeviceManagementRequestJob::TYPE_API_AUTH_CODE_FETCH, in StartApiAuthCodeFetchJob()
109 DeviceManagementRequestJob* StartUnregistrationJob() { in StartUnregistrationJob()
110 DeviceManagementRequestJob* job = in StartUnregistrationJob()
111 service_->CreateJob(DeviceManagementRequestJob::TYPE_UNREGISTRATION, in StartUnregistrationJob()
123 DeviceManagementRequestJob* StartPolicyFetchJob() { in StartPolicyFetchJob()
[all …]
Ddevice_management_service.h34 class POLICY_EXPORT DeviceManagementRequestJob {
51 typedef base::Callback<void(DeviceManagementRequestJob*)> RetryCallback;
53 virtual ~DeviceManagementRequestJob();
77 DeviceManagementRequestJob(JobType type,
96 DISALLOW_COPY_AND_ASSIGN(DeviceManagementRequestJob);
133 virtual DeviceManagementRequestJob* CreateJob(
134 DeviceManagementRequestJob::JobType type,
Dcloud_policy_client_unittest.cc133 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, in ExpectRegistration()
145 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, in ExpectPolicyFetch()
156 CreateJob(DeviceManagementRequestJob::TYPE_UNREGISTRATION, in ExpectUnregistration()
166 CreateJob(DeviceManagementRequestJob::TYPE_UPLOAD_CERTIFICATE, in ExpectUploadCertificate()
278 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, in TEST_F()
296 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, in TEST_F()
425 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, in TEST_F()
451 CreateJob(DeviceManagementRequestJob::TYPE_UNREGISTRATION, in TEST_F()
465 CreateJob(DeviceManagementRequestJob::TYPE_UNREGISTRATION, in TEST_F()
506 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, in TEST_F()
[all …]
Dcloud_policy_client.cc112 service_->CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, in Register()
152 service_->CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, in FetchPolicy()
231 DeviceManagementRequestJob::TYPE_API_AUTH_CODE_FETCH, in FetchRobotAuthCodes()
253 service_->CreateJob(DeviceManagementRequestJob::TYPE_UNREGISTRATION, in Unregister()
267 service_->CreateJob(DeviceManagementRequestJob::TYPE_UPLOAD_CERTIFICATE, in UploadCertificate()
276 DeviceManagementRequestJob::Callback job_callback = base::Bind( in UploadCertificate()
315 void CloudPolicyClient::OnRetryRegister(DeviceManagementRequestJob* job) { in OnRetryRegister()
Dmock_device_management_service.h49 typedef DeviceManagementRequestJob* CreateJobFunction(
50 DeviceManagementRequestJob::JobType, net::URLRequestContextGetter*);
Dcloud_policy_client.h28 class DeviceManagementRequestJob; variable
226 void OnRetryRegister(DeviceManagementRequestJob* job);
291 scoped_ptr<DeviceManagementRequestJob> request_job_;
Dmock_device_management_service.cc23 class MockRequestJobBase : public DeviceManagementRequestJob {
27 : DeviceManagementRequestJob(type, std::string(), std::string()), in MockRequestJobBase()
/external/chromium_org/chrome/browser/policy/cloud/
Ddevice_management_service_browsertest.cc132 scoped_ptr<DeviceManagementRequestJob> job( in PerformRegistration()
133 service_->CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, in PerformRegistration()
193 scoped_ptr<DeviceManagementRequestJob> job(service_->CreateJob( in IN_PROC_BROWSER_TEST_P()
194 DeviceManagementRequestJob::TYPE_API_AUTH_CODE_FETCH, in IN_PROC_BROWSER_TEST_P()
215 scoped_ptr<DeviceManagementRequestJob> job( in IN_PROC_BROWSER_TEST_P()
216 service_->CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, in IN_PROC_BROWSER_TEST_P()
236 scoped_ptr<DeviceManagementRequestJob> job( in IN_PROC_BROWSER_TEST_P()
237 service_->CreateJob(DeviceManagementRequestJob::TYPE_UNREGISTRATION, in IN_PROC_BROWSER_TEST_P()
252 scoped_ptr<DeviceManagementRequestJob> job( in IN_PROC_BROWSER_TEST_P()
253 service_->CreateJob(DeviceManagementRequestJob::TYPE_AUTO_ENROLLMENT, in IN_PROC_BROWSER_TEST_P()
Duser_policy_signin_service_unittest.cc274 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, _)) in TestSuccessfulSignin()
307 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TestSuccessfulSignin()
652 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, _)) in TEST_F()
686 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, _)) in TEST_F()
719 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TEST_F()
767 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TEST_F()
793 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TEST_F()
/external/chromium_org/chrome/browser/chromeos/policy/
Dauto_enrollment_client.h32 class DeviceManagementRequestJob; variable
206 scoped_ptr<DeviceManagementRequestJob> request_job_;
Dauto_enrollment_client_unittest.cc90 CreateJob(DeviceManagementRequestJob::TYPE_AUTO_ENROLLMENT, _)) in ServerWillFail()
112 CreateJob(DeviceManagementRequestJob::TYPE_AUTO_ENROLLMENT, _)) in ServerWillReply()
126 CreateJob(DeviceManagementRequestJob::TYPE_DEVICE_STATE_RETRIEVAL, _)) in ServerWillSendState()
132 CreateJob(DeviceManagementRequestJob::TYPE_AUTO_ENROLLMENT, _)) in ServerWillReplyAsync()
511 CreateJob(DeviceManagementRequestJob::TYPE_DEVICE_STATE_RETRIEVAL, in TEST_F()
Ddevice_cloud_policy_manager_chromeos_unittest.cc234 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TEST_F()
349 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, _)) in RunTest()
372 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in RunTest()
394 DeviceManagementRequestJob::TYPE_API_AUTH_CODE_FETCH, _)) in RunTest()
Duser_cloud_policy_manager_chromeos_unittest.cc224 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, _)) in IssueOAuthToken()
285 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in FetchPolicy()
481 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TEST_F()
Dauto_enrollment_client.cc268 DeviceManagementRequestJob::TYPE_AUTO_ENROLLMENT, in SendBucketDownloadRequest()
287 DeviceManagementRequestJob::TYPE_DEVICE_STATE_RETRIEVAL, in SendDeviceStateRequest()
Ddevice_local_account_policy_service_unittest.cc398 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TEST_F()