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

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

Issue 10383254: At browser exit, wait for pending print jobs before starting shutdown. This is to avoid a nested me… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | « chrome/browser/printing/print_job.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_job_manager.cc
===================================================================
--- chrome/browser/printing/print_job_manager.cc (revision 137865)
+++ chrome/browser/printing/print_job_manager.cc (working copy)
@@ -35,15 +35,7 @@
}
void PrintJobManager::OnQuit() {
-#if defined(OS_MACOSX)
- // OnQuit is too late to try to wait for jobs on the Mac, since the runloop
- // has already been torn down; instead, StopJobs(true) is called earlier in
- // the shutdown process, and this is just here in case something sneaks
- // in after that.
- StopJobs(false);
-#else
StopJobs(true);
-#endif
registrar_.RemoveAll();
}
« no previous file with comments | « chrome/browser/printing/print_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698