OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/renderer_host/render_view_host.h" | 5 #include "chrome/browser/renderer_host/render_view_host.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 2238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2249 &printer_query); | 2249 &printer_query); |
2250 if (printer_query.get()) { | 2250 if (printer_query.get()) { |
2251 BrowserThread::PostTask( | 2251 BrowserThread::PostTask( |
2252 BrowserThread::IO, FROM_HERE, | 2252 BrowserThread::IO, FROM_HERE, |
2253 NewRunnableMethod(printer_query.get(), | 2253 NewRunnableMethod(printer_query.get(), |
2254 &printing::PrinterQuery::StopWorker)); | 2254 &printing::PrinterQuery::StopWorker)); |
2255 } | 2255 } |
2256 | 2256 |
2257 // Send the printingDone msg for now. | 2257 // Send the printingDone msg for now. |
2258 Send(new ViewMsg_PrintingDone(routing_id(), -1, true)); | 2258 Send(new ViewMsg_PrintingDone(routing_id(), -1, true)); |
2259 } | 2259 } |
OLD | NEW |