Commit bbee90bb authored by Albert Bodenhamer's avatar Albert Bodenhamer Committed by Commit Bot

Remove PrintPreview.ManageCloudPrinters histogram

Bug: 642281
Change-Id: Ie61b86046e7691bc049a36a5ed2a5d46392919fc
Reviewed-on: https://chromium-review.googlesource.com/767017Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Albert Bodenhamer <abodenha@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516354}
parent c9cf2c73
......@@ -390,7 +390,6 @@ class PrintPreviewHandler::AccessTokenService
PrintPreviewHandler::PrintPreviewHandler()
: regenerate_preview_request_count_(0),
manage_printers_dialog_request_count_(0),
manage_cloud_printers_dialog_request_count_(0),
reported_failed_preview_(false),
has_logged_printers_count_(false),
gaia_cookie_manager_service_(nullptr),
......@@ -884,7 +883,6 @@ void PrintPreviewHandler::HandleGetAccessToken(const base::ListValue* args) {
void PrintPreviewHandler::HandleManageCloudPrint(
const base::ListValue* args) {
++manage_cloud_printers_dialog_request_count_;
GURL manage_url(cloud_devices::GetCloudPrintRelativeURL("manage.html"));
std::string user;
if (!args->GetString(0, &user))
......@@ -945,8 +943,6 @@ void PrintPreviewHandler::HandleClosePreviewDialog(
void PrintPreviewHandler::ReportStats() {
UMA_HISTOGRAM_COUNTS("PrintPreview.ManagePrinters",
manage_printers_dialog_request_count_);
UMA_HISTOGRAM_COUNTS("PrintPreview.ManageCloudPrinters",
manage_cloud_printers_dialog_request_count_);
}
void PrintPreviewHandler::GetNumberFormatAndMeasurementSystem(
......
......@@ -297,7 +297,6 @@ class PrintPreviewHandler
// A count of how many requests received to show manage printers dialog.
int manage_printers_dialog_request_count_;
int manage_cloud_printers_dialog_request_count_;
// Whether we have already logged a failed print preview.
bool reported_failed_preview_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment