Searched refs:DownloadErrorCode (Results 1 – 16 of 16) sorted by relevance
146 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code) { in GetDownloadErrorCode()155 return static_cast<metrics::DownloadErrorCode>( in GetDownloadErrorCode()156 static_cast<int>(metrics::DownloadErrorCode::kHttpStatus200) + in GetDownloadErrorCode()161 return metrics::DownloadErrorCode::kDownloadError; in GetDownloadErrorCode()164 return metrics::DownloadErrorCode::kHttpStatusOther; in GetDownloadErrorCode()174 return metrics::DownloadErrorCode::kDownloadError; in GetDownloadErrorCode()177 return metrics::DownloadErrorCode::kInternalLibCurlError; in GetDownloadErrorCode()179 return metrics::DownloadErrorCode::kUnresolvedHostError; in GetDownloadErrorCode()181 return metrics::DownloadErrorCode::kUnresolvedHostRecovered; in GetDownloadErrorCode()259 return metrics::DownloadErrorCode::kInputMalformed; in GetDownloadErrorCode()
43 metrics::DownloadErrorCode download_error_code));59 metrics::DownloadErrorCode payload_download_error_code,
45 metrics::DownloadErrorCode download_error_code) override {} in ReportUpdateCheckMetrics()60 metrics::DownloadErrorCode payload_download_error_code,
45 metrics::DownloadErrorCode download_error_code) override {} in ReportUpdateCheckMetrics()60 metrics::DownloadErrorCode payload_download_error_code, in ReportUpdateAttemptDownloadMetrics()
98 metrics::DownloadErrorCode download_error_code) = 0;144 metrics::DownloadErrorCode payload_download_error_code,
73 metrics::DownloadErrorCode error_code = in TEST_F()74 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()128 metrics::DownloadErrorCode error_code = in TEST_F()129 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()155 metrics::DownloadErrorCode error_code = in TEST_F()156 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()281 metrics::DownloadErrorCode payload_download_error_code = in TEST_F()282 metrics::DownloadErrorCode::kDownloadError; in TEST_F()
122 metrics::DownloadErrorCode download_error_code) override;137 metrics::DownloadErrorCode payload_download_error_code,
54 enum class DownloadErrorCode { enum
41 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code);
162 metrics::DownloadErrorCode download_error_code) { in ReportUpdateCheckMetrics()181 if (download_error_code != metrics::DownloadErrorCode::kUnset) { in ReportUpdateCheckMetrics()345 metrics::DownloadErrorCode payload_download_error_code, in ReportUpdateAttemptDownloadMetrics()372 if (payload_download_error_code != metrics::DownloadErrorCode::kUnset) { in ReportUpdateAttemptDownloadMetrics()
77 metrics::DownloadErrorCode /* payload_download_error_code */, in ReportUpdateAttemptDownloadMetrics() argument
942 metrics::DownloadErrorCode download_error_code = in TransferComplete()1434 metrics::DownloadErrorCode download_error_code = in ActionCompleted()1435 metrics::DownloadErrorCode::kUnset; in ActionCompleted()1475 metrics::DownloadErrorCode tmp_error = in ActionCompleted()1477 if (tmp_error != metrics::DownloadErrorCode::kInputMalformed) { in ActionCompleted()
644 metrics::DownloadErrorCode payload_download_error_code = in CollectAndReportAttemptMetrics()645 metrics::DownloadErrorCode::kUnset; in CollectAndReportAttemptMetrics()
353 metrics::DownloadErrorCode expected_download_error_code;393 .expected_download_error_code = metrics::DownloadErrorCode::kUnset, in SetUp()2072 static_cast<metrics::DownloadErrorCode>(501); in TEST_F()2088 metrics::DownloadErrorCode::kHttpStatusOther; in TEST_F()
822 metrics::DownloadErrorCode::kUnset, in CollectAndReportUpdateMetricsOnUpdateFinished()
275 metrics::DownloadErrorCode::kUnset); in Update()