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

Unified Diff: chrome/browser/printing/print_view_manager.cc

Issue 524543002: Removed IDC_PRINT_TO_DESTINATION. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fri Aug 29 14:26:26 PDT 2014 Created 6 years, 4 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/browser/printing/print_view_manager.h ('k') | chrome/browser/printing/print_view_manager_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43a760c763db32625ae82911571a3a63e02c596f..e0f4ef986745068424a2641ae0f63d37e3f96977 100644
--- a/chrome/browser/printing/print_view_manager.cc
+++ b/chrome/browser/printing/print_view_manager.cc
@@ -17,7 +17,6 @@
#include "chrome/common/print_messages.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/web_contents.h"
-#include "printing/print_destination_interface.h"
using content::BrowserThread;
@@ -73,16 +72,6 @@ bool PrintViewManager::AdvancedPrintNow() {
}
}
-bool PrintViewManager::PrintToDestination() {
- // TODO(mad): Remove this once we can send user metrics from the metro driver.
- // crbug.com/142330
- UMA_HISTOGRAM_ENUMERATION("Metro.Print", 0, 2);
- // TODO(mad): Use a passed in destination interface instead.
- g_browser_process->print_job_manager()->queue()->SetDestination(
- printing::CreatePrintDestination());
- return PrintNowInternal(new PrintMsg_PrintPages(routing_id()));
-}
-
bool PrintViewManager::PrintPreviewNow(bool selection_only) {
// Users can send print commands all they want and it is beyond
// PrintViewManager's control. Just ignore the extra commands.
« no previous file with comments | « chrome/browser/printing/print_view_manager.h ('k') | chrome/browser/printing/print_view_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698