OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/printing/print_view_manager_base.h" | 5 #include "chrome/browser/printing/print_view_manager_base.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 scoped_refptr<printing::PrinterQuery> printer_query; | 532 scoped_refptr<printing::PrinterQuery> printer_query; |
533 print_job_manager->PopPrinterQuery(cookie, &printer_query); | 533 print_job_manager->PopPrinterQuery(cookie, &printer_query); |
534 if (!printer_query.get()) | 534 if (!printer_query.get()) |
535 return; | 535 return; |
536 BrowserThread::PostTask( | 536 BrowserThread::PostTask( |
537 BrowserThread::IO, FROM_HERE, | 537 BrowserThread::IO, FROM_HERE, |
538 base::Bind(&PrinterQuery::StopWorker, printer_query.get())); | 538 base::Bind(&PrinterQuery::StopWorker, printer_query.get())); |
539 } | 539 } |
540 | 540 |
541 } // namespace printing | 541 } // namespace printing |
OLD | NEW |