Home
last modified time | relevance | path

Searched refs:download_metrics (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/chrome/browser/component_updater/test/
Dcomponent_updater_ping_manager_unittest.cc145 CrxDownloader::DownloadMetrics download_metrics; in TEST_F() local
146 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 …]
/external/chromium_org/chrome/browser/component_updater/
Durl_fetcher_downloader.cc77 DownloadMetrics download_metrics; in OnURLFetchComplete() local
78 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()
Dcrx_downloader.cc68 CrxDownloader::download_metrics() const { in download_metrics() function in component_updater::CrxDownloader
72 std::vector<DownloadMetrics> retval(successor_->download_metrics()); in download_metrics()
112 const DownloadMetrics& download_metrics) { in OnDownloadComplete() argument
115 download_metrics_.push_back(download_metrics); in OnDownloadComplete()
Dbackground_downloader_win.cc542 DownloadMetrics download_metrics; in EndDownload() local
543 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()
Dcrx_downloader.h104 const std::vector<DownloadMetrics> download_metrics() const;
119 const DownloadMetrics& download_metrics);
Dcomponent_updater_ping_manager.cc108 for (size_t i = 0; i != item->download_metrics.size(); ++i) { in BuildDownloadCompleteEventElements()
109 const CrxDownloader::DownloadMetrics& metrics = item->download_metrics[i]; in BuildDownloadCompleteEventElements()
Dcrx_update_item.h111 std::vector<CrxDownloader::DownloadMetrics> download_metrics; member
Dcomponent_updater_service.cc620 item->download_metrics.clear(); in CheckForUpdates()
806 AppendDownloadMetrics(crx_downloader_->download_metrics(), in DownloadComplete()
807 &crx->download_metrics); in DownloadComplete()