Esempio n. 1
0
 /**
  * Records metrics related to downloading a page. Should be called after a tap on the download
  * page button.
  *
  * @param tab The Tab containing the page being downloaded.
  */
 public static void recordDownloadPageMetrics(Tab tab) {
   RecordHistogram.recordPercentageHistogram(
       "OfflinePages.SavePage.PercentLoaded", tab.getProgress());
 }