Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1758)

Unified Diff: chrome/browser/extensions/webstore_installer.cc

Issue 9316116: Isolate initiation counts for downloads to their own histograms and improve (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restored curlies to original. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/webstore_installer.cc
diff --git a/chrome/browser/extensions/webstore_installer.cc b/chrome/browser/extensions/webstore_installer.cc
index 57f14935eede2a657aa2079a64d6977949f4f5fe..91aa03d20039fbec822de28aeb25f008fd6571ae 100644
--- a/chrome/browser/extensions/webstore_installer.cc
+++ b/chrome/browser/extensions/webstore_installer.cc
@@ -211,8 +211,8 @@ void WebstoreInstaller::StartDownload(FilePath file) {
// The download url for the given extension is contained in |download_url_|.
// We will navigate the current tab to this url to start the download. The
// download system will then pass the crx to the CrxInstaller.
- download_util::RecordDownloadCount(
- download_util::INITIATED_BY_WEBSTORE_INSTALLER_COUNT);
+ download_util::RecordDownloadSource(
+ download_util::INITIATED_BY_WEBSTORE_INSTALLER);
profile_->GetDownloadManager()->DownloadUrl(
download_url_, referrer, "",
false, -1, save_info, controller_->GetWebContents());

Powered by Google App Engine
This is Rietveld 408576698