Searched refs:request_params (Results 1 – 14 of 14) sorted by relevance
329 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F() local330 request_params.Init("", "", false); in TEST_F()331 request_params.set_current_channel(kChannelName); in TEST_F()332 fake_sys_state_.set_request_params(&request_params); in TEST_F()338 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F() local339 request_params.Init("", "", false); in TEST_F()340 request_params.set_current_channel(""); in TEST_F()341 fake_sys_state_.set_request_params(&request_params); in TEST_F()347 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F() local348 request_params.Init("", "", false); in TEST_F()[all …]
268 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue() local269 string channel = request_params->current_channel(); in GetValue()289 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue() local290 string channel = request_params->target_channel(); in GetValue()
89 inline OmahaRequestParams* request_params() override { in request_params() function153 inline void set_request_params(OmahaRequestParams* request_params) { in set_request_params() argument154 request_params_ = (request_params ? request_params : &mock_request_params_); in set_request_params()
98 virtual OmahaRequestParams* request_params() = 0;
75 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction()228 if (!system_state_->request_params()->IsUpdateUrlOfficial() || in AreHashChecksMandatory()
114 inline OmahaRequestParams* request_params() override { in request_params() function
222 if (system_state && system_state->request_params()) { in ReportUpdateCheckMetrics()224 system_state->request_params()->target_version_prefix(); in ReportUpdateCheckMetrics()231 if (system_state->request_params()->rollback_allowed()) { in ReportUpdateCheckMetrics()
195 if (!system_state_->request_params()->SetTargetChannel( in SetChannel()206 OmahaRequestParams* rp = system_state_->request_params(); in GetChannel()
1243 fake_system_state_.request_params()->target_version_prefix()); in TEST_F()1247 fake_system_state_.request_params()->target_version_prefix().empty()); in TEST_F()1258 EXPECT_TRUE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()1267 EXPECT_FALSE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()1338 EXPECT_FALSE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()1345 EXPECT_TRUE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
401 if (system_state_->request_params()->interactive()) { in ShouldBackoffDownload()446 SetRollbackVersion(system_state_->request_params()->app_version()); in Rollback()581 OmahaRequestParams* params = system_state_->request_params(); in CalculatePayloadType()
141 omaha_request_params_ = system_state_->request_params(); in Init()1351 OmahaRequestParams* params = system_state_->request_params(); in ShouldCancel()
140 fake_system_state_.request_params()->is_install() in DoTest()
697 params_(system_state->request_params()), in OmahaRequestAction()
426 EXPECT_EQ(&request_params_, fake_system_state_.request_params()); in TestUpdateCheck()