Index: chrome/browser/printing/print_view_manager.cc |
diff --git a/chrome/browser/printing/print_view_manager.cc b/chrome/browser/printing/print_view_manager.cc |
index 09213d26f3a1ffd03b000e6abdf733f59a8b5ebb..ce3e029cc773c52ed68fb0a1a3754c8ea2ea3438 100644 |
--- a/chrome/browser/printing/print_view_manager.cc |
+++ b/chrome/browser/printing/print_view_manager.cc |
@@ -9,6 +9,7 @@ |
#include "base/bind.h" |
#include "base/lazy_instance.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/metrics/histogram.h" |
#include "base/timer.h" |
#include "base/utf_string_conversions.h" |
#include "chrome/browser/browser_process.h" |
@@ -109,6 +110,8 @@ bool PrintViewManager::AdvancedPrintNow() { |
} |
bool PrintViewManager::PrintToDestination() { |
+ // TODO(mad): Remove this once we can send user metrics from the metro driver. |
Albert Bodenhamer
2012/08/10 21:48:07
File a bug on moving the code and reference it fro
MAD
2012/08/13 14:38:09
Done.
|
+ UMA_HISTOGRAM_ENUMERATION("Metro.Print", 0, 2); |
// TODO(mad): Use a passed in destination interface instead. |
g_browser_process->print_job_manager()->SetPrintDestination( |
printing::CreatePrintDestination()); |