Searched refs:fetch_request (Results 1 – 5 of 5) sorted by relevance
305 MockDeviceManagementJob* fetch_request = NULL; in TestSuccessfulSignin() local308 .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() local720 .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() local768 .WillOnce(device_management_service_.CreateAsyncJob(&fetch_request)); in TEST_F()[all …]
164 em::PolicyFetchRequest* fetch_request = policy_request->add_request(); in FetchPolicy() local165 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()
530 const em::PolicyFetchRequest& fetch_request = policy_request.request(i); in TEST_F() local531 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()
128 em::PolicyFetchRequest* fetch_request = in StartPolicyFetchJob() local130 fetch_request->set_policy_type(dm_protocol::kChromeUserPolicyType); in StartPolicyFetchJob()
264 'openid.ext1.mode': 'fetch_request',