Searched refs:download_metrics (Results 1 – 8 of 8) sorted by relevance
145 CrxDownloader::DownloadMetrics download_metrics; in TEST_F() local146 download_metrics.url = GURL("http://host1/path1"); in TEST_F()147 download_metrics.downloader = CrxDownloader::DownloadMetrics::kUrlFetcher; in TEST_F()148 download_metrics.error = -1; in TEST_F()149 download_metrics.downloaded_bytes = 123; in TEST_F()150 download_metrics.total_bytes = 456; in TEST_F()151 download_metrics.download_time_ms = 987; in TEST_F()152 item.download_metrics.push_back(download_metrics); in TEST_F()154 download_metrics = CrxDownloader::DownloadMetrics(); in TEST_F()155 download_metrics.url = GURL("http://host2/path2"); in TEST_F()[all …]
77 DownloadMetrics download_metrics; in OnURLFetchComplete() local78 download_metrics.url = url(); in OnURLFetchComplete()79 download_metrics.downloader = DownloadMetrics::kUrlFetcher; in OnURLFetchComplete()80 download_metrics.error = fetch_error; in OnURLFetchComplete()81 download_metrics.downloaded_bytes = downloaded_bytes_; in OnURLFetchComplete()82 download_metrics.total_bytes = total_bytes_; in OnURLFetchComplete()83 download_metrics.download_time_ms = download_time.InMilliseconds(); in OnURLFetchComplete()90 CrxDownloader::OnDownloadComplete(is_handled, result, download_metrics); in OnURLFetchComplete()
68 CrxDownloader::download_metrics() const { in download_metrics() function in component_updater::CrxDownloader72 std::vector<DownloadMetrics> retval(successor_->download_metrics()); in download_metrics()112 const DownloadMetrics& download_metrics) { in OnDownloadComplete() argument115 download_metrics_.push_back(download_metrics); in OnDownloadComplete()
542 DownloadMetrics download_metrics; in EndDownload() local543 download_metrics.url = url(); in EndDownload()544 download_metrics.downloader = DownloadMetrics::kBits; in EndDownload()545 download_metrics.error = error_to_report; in EndDownload()546 download_metrics.downloaded_bytes = downloaded_bytes; in EndDownload()547 download_metrics.total_bytes = total_bytes; in EndDownload()548 download_metrics.download_time_ms = download_time.InMilliseconds(); in EndDownload()561 download_metrics)); in EndDownload()
104 const std::vector<DownloadMetrics> download_metrics() const;119 const DownloadMetrics& download_metrics);
108 for (size_t i = 0; i != item->download_metrics.size(); ++i) { in BuildDownloadCompleteEventElements()109 const CrxDownloader::DownloadMetrics& metrics = item->download_metrics[i]; in BuildDownloadCompleteEventElements()
111 std::vector<CrxDownloader::DownloadMetrics> download_metrics; member
620 item->download_metrics.clear(); in CheckForUpdates()806 AppendDownloadMetrics(crx_downloader_->download_metrics(), in DownloadComplete()807 &crx->download_metrics); in DownloadComplete()