/external/chromium_org/components/policy/core/common/cloud/ |
D | device_management_service.cc | 111 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 …]
|
D | device_management_service_unittest.cc | 79 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 …]
|
D | device_management_service.h | 34 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,
|
D | cloud_policy_client_unittest.cc | 133 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 …]
|
D | cloud_policy_client.cc | 112 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()
|
D | mock_device_management_service.h | 49 typedef DeviceManagementRequestJob* CreateJobFunction( 50 DeviceManagementRequestJob::JobType, net::URLRequestContextGetter*);
|
D | cloud_policy_client.h | 28 class DeviceManagementRequestJob; variable 226 void OnRetryRegister(DeviceManagementRequestJob* job); 291 scoped_ptr<DeviceManagementRequestJob> request_job_;
|
D | mock_device_management_service.cc | 23 class MockRequestJobBase : public DeviceManagementRequestJob { 27 : DeviceManagementRequestJob(type, std::string(), std::string()), in MockRequestJobBase()
|
/external/chromium_org/chrome/browser/policy/cloud/ |
D | device_management_service_browsertest.cc | 132 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()
|
D | user_policy_signin_service_unittest.cc | 274 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/ |
D | auto_enrollment_client.h | 32 class DeviceManagementRequestJob; variable 206 scoped_ptr<DeviceManagementRequestJob> request_job_;
|
D | auto_enrollment_client_unittest.cc | 90 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()
|
D | device_cloud_policy_manager_chromeos_unittest.cc | 234 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()
|
D | user_cloud_policy_manager_chromeos_unittest.cc | 224 CreateJob(DeviceManagementRequestJob::TYPE_REGISTRATION, _)) in IssueOAuthToken() 285 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in FetchPolicy() 481 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TEST_F()
|
D | auto_enrollment_client.cc | 268 DeviceManagementRequestJob::TYPE_AUTO_ENROLLMENT, in SendBucketDownloadRequest() 287 DeviceManagementRequestJob::TYPE_DEVICE_STATE_RETRIEVAL, in SendDeviceStateRequest()
|
D | device_local_account_policy_service_unittest.cc | 398 CreateJob(DeviceManagementRequestJob::TYPE_POLICY_FETCH, _)) in TEST_F()
|