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

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

Issue 10483006: Print support for Windows Metro... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to ToT... Created 8 years, 6 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_job_manager.h ('k') | chrome/browser/printing/print_job_worker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_job_manager.cc
diff --git a/chrome/browser/printing/print_job_manager.cc b/chrome/browser/printing/print_job_manager.cc
index e83238c40449d26c73e6c3519ece25e1c152772e..e3abfd103604c2e07c4f95666a95f91000cdf60e 100644
--- a/chrome/browser/printing/print_job_manager.cc
+++ b/chrome/browser/printing/print_job_manager.cc
@@ -59,6 +59,11 @@ void PrintJobManager::StopJobs(bool wait_for_finish) {
current_jobs_.clear();
}
+void PrintJobManager::SetPrintDestination(
+ PrintDestinationInterface* destination) {
+ destination_ = destination;
+}
+
void PrintJobManager::QueuePrinterQuery(PrinterQuery* job) {
base::AutoLock lock(lock_);
DCHECK(job);
@@ -125,6 +130,7 @@ void PrintJobManager::OnPrintJobEvent(
DCHECK(current_jobs_.end() == std::find(current_jobs_.begin(),
current_jobs_.end(),
print_job));
+ destination_ = NULL;
break;
}
case JobEventDetails::FAILED: {
« no previous file with comments | « chrome/browser/printing/print_job_manager.h ('k') | chrome/browser/printing/print_job_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698