Home
last modified time | relevance | path

Searched refs:fetch_request (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/policy/cloud/
Duser_policy_signin_service_unittest.cc305 MockDeviceManagementJob* fetch_request = NULL; in TestSuccessfulSignin() local
308 .WillOnce(device_management_service_.CreateAsyncJob(&fetch_request)); in TestSuccessfulSignin()
321 ASSERT_TRUE(fetch_request); in TestSuccessfulSignin()
340 fetch_request->SendResponse(DM_STATUS_SUCCESS, policy_blob); in TestSuccessfulSignin()
717 MockDeviceManagementJob* fetch_request = NULL; in TEST_F() local
720 .WillOnce(device_management_service_.CreateAsyncJob(&fetch_request)); in TEST_F()
732 ASSERT_TRUE(fetch_request); in TEST_F()
736 fetch_request->SendResponse(DM_STATUS_REQUEST_FAILED, in TEST_F()
765 MockDeviceManagementJob* fetch_request = NULL; in TEST_F() local
768 .WillOnce(device_management_service_.CreateAsyncJob(&fetch_request)); in TEST_F()
[all …]
/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_client.cc164 em::PolicyFetchRequest* fetch_request = policy_request->add_request(); in FetchPolicy() local
165 fetch_request->set_policy_type(it->first); in FetchPolicy()
167 fetch_request->set_settings_entity_id(it->second); in FetchPolicy()
170 fetch_request->set_signature_type(em::PolicyFetchRequest::SHA1_RSA); in FetchPolicy()
172 fetch_request->set_public_key_version(public_key_version_); in FetchPolicy()
175 fetch_request->set_verification_key_hash(verification_key_hash_); in FetchPolicy()
180 fetch_request->set_machine_id(machine_id_); in FetchPolicy()
184 fetch_request->set_timestamp(timestamp.InMilliseconds()); in FetchPolicy()
187 fetch_request->set_invalidation_version(invalidation_version_); in FetchPolicy()
188 fetch_request->set_invalidation_payload(invalidation_payload_); in FetchPolicy()
Dcloud_policy_client_unittest.cc530 const em::PolicyFetchRequest& fetch_request = policy_request.request(i); in TEST_F() local
531 ASSERT_TRUE(fetch_request.has_policy_type()); in TEST_F()
533 if (fetch_request.has_settings_entity_id()) in TEST_F()
534 entity_id = fetch_request.settings_entity_id(); in TEST_F()
535 PolicyNamespaceKey key(fetch_request.policy_type(), entity_id); in TEST_F()
Ddevice_management_service_unittest.cc128 em::PolicyFetchRequest* fetch_request = in StartPolicyFetchJob() local
130 fetch_request->set_policy_type(dm_protocol::kChromeUserPolicyType); in StartPolicyFetchJob()
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
Dindex.php264 'openid.ext1.mode': 'fetch_request',