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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 10387162: Add additional stats for print preview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 8 years, 7 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 | « no previous file | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
index cae85060160d07801012b6b65384ab500e21411f..24510b20228bc166f91289ab622a448c20f3c8c0 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -145,6 +145,9 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
// preview is displayed.
void HandleGetInitialSettings(const base::ListValue* args);
+ // Reports histogram data for the print destination UI.
+ void HandleReportDestinationEvent(const base::ListValue* args);
+
void SendInitialSettings(
const std::string& default_printer,
const std::string& cloud_print_data);
@@ -195,6 +198,7 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
// 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_;
« no previous file with comments | « no previous file | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698