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

Unified Diff: chrome/service/cloud_print/printer_job_handler.cc

Issue 2706943003: Remove some unused cloud print histograms. (Closed)
Patch Set: Remove some unused cloud print histograms. Created 3 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
« no previous file with comments | « chrome/service/cloud_print/printer_job_handler.h ('k') | chrome/service/service_utility_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/printer_job_handler.cc
diff --git a/chrome/service/cloud_print/printer_job_handler.cc b/chrome/service/cloud_print/printer_job_handler.cc
index 7799342c32b22abfeec9266ba1498334ef76018e..d2ea9b0b4b3c73590c6a523cd663bcda444f771b 100644
--- a/chrome/service/cloud_print/printer_job_handler.cc
+++ b/chrome/service/cloud_print/printer_job_handler.cc
@@ -720,15 +720,6 @@ void PrinterJobHandler::OnReceivePrinterCaps(
cp_tag_wildcard += ".*";
net::AddMultipartValueForUpload(kPrinterRemoveTagValue,
cp_tag_wildcard, mime_boundary, std::string(), &post_data);
-
- if (!last_caps_update_time_.is_null()) {
- UMA_HISTOGRAM_CUSTOM_TIMES(
- "CloudPrint.CapsUpdateInterval",
- base::Time::Now() - last_caps_update_time_,
- base::TimeDelta::FromMilliseconds(1),
- base::TimeDelta::FromDays(7), 50);
- }
- last_caps_update_time_ = base::Time::Now();
}
if (printer_info.printer_name != printer_info_.printer_name) {
« no previous file with comments | « chrome/service/cloud_print/printer_job_handler.h ('k') | chrome/service/service_utility_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698