Searched refs:DownloadErrorCode (Results 1 – 16 of 16) sorted by relevance
147 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code) { in GetDownloadErrorCode()156 return static_cast<metrics::DownloadErrorCode>( in GetDownloadErrorCode()157 static_cast<int>(metrics::DownloadErrorCode::kHttpStatus200) + in GetDownloadErrorCode()162 return metrics::DownloadErrorCode::kDownloadError; in GetDownloadErrorCode()165 return metrics::DownloadErrorCode::kHttpStatusOther; in GetDownloadErrorCode()175 return metrics::DownloadErrorCode::kDownloadError; in GetDownloadErrorCode()178 return metrics::DownloadErrorCode::kInternalLibCurlError; in GetDownloadErrorCode()180 return metrics::DownloadErrorCode::kUnresolvedHostError; in GetDownloadErrorCode()182 return metrics::DownloadErrorCode::kUnresolvedHostRecovered; in GetDownloadErrorCode()262 return metrics::DownloadErrorCode::kInputMalformed; in GetDownloadErrorCode()
39 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code);
42 metrics::DownloadErrorCode download_error_code));57 metrics::DownloadErrorCode payload_download_error_code,
44 metrics::DownloadErrorCode download_error_code) override {} in ReportUpdateCheckMetrics()58 metrics::DownloadErrorCode payload_download_error_code, in ReportUpdateAttemptDownloadMetrics()
92 metrics::DownloadErrorCode download_error_code) = 0;137 metrics::DownloadErrorCode payload_download_error_code,
54 enum class DownloadErrorCode { enum
49 metrics::DownloadErrorCode download_error_code) override {} in ReportUpdateCheckMetrics()63 metrics::DownloadErrorCode payload_download_error_code,
156 metrics::DownloadErrorCode /* payload_download_error_code */, in ReportUpdateAttemptDownloadMetrics() argument
844 metrics::DownloadErrorCode::kUnset, in CollectAndReportUpdateMetricsOnUpdateFinished()
70 metrics::DownloadErrorCode error_code = in TEST_F()71 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()121 metrics::DownloadErrorCode error_code = in TEST_F()122 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()145 metrics::DownloadErrorCode error_code = in TEST_F()146 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()262 metrics::DownloadErrorCode payload_download_error_code = in TEST_F()263 metrics::DownloadErrorCode::kDownloadError; in TEST_F()
121 metrics::DownloadErrorCode download_error_code) override;135 metrics::DownloadErrorCode payload_download_error_code,
160 metrics::DownloadErrorCode download_error_code) { in ReportUpdateCheckMetrics()177 if (download_error_code != metrics::DownloadErrorCode::kUnset) { in ReportUpdateCheckMetrics()309 metrics::DownloadErrorCode payload_download_error_code, in ReportUpdateAttemptDownloadMetrics()331 if (payload_download_error_code != metrics::DownloadErrorCode::kUnset) { in ReportUpdateAttemptDownloadMetrics()
973 metrics::DownloadErrorCode download_error_code = in TransferComplete()1485 metrics::DownloadErrorCode download_error_code = in ActionCompleted()1486 metrics::DownloadErrorCode::kUnset; in ActionCompleted()1526 metrics::DownloadErrorCode tmp_error = in ActionCompleted()1528 if (tmp_error != metrics::DownloadErrorCode::kInputMalformed) { in ActionCompleted()
646 metrics::DownloadErrorCode payload_download_error_code = in CollectAndReportAttemptMetrics()647 metrics::DownloadErrorCode::kUnset; in CollectAndReportAttemptMetrics()
374 metrics::DownloadErrorCode expected_download_error_code;414 .expected_download_error_code = metrics::DownloadErrorCode::kUnset, in SetUp()2187 static_cast<metrics::DownloadErrorCode>(501); in TEST_F()2203 metrics::DownloadErrorCode::kHttpStatusOther; in TEST_F()
293 metrics::DownloadErrorCode::kUnset); in Update()