| 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 |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
| 13 #include "base/json/json_reader.h" | 13 #include "base/json/json_reader.h" |
| 14 #include "base/metrics/stats_counters.h" | 14 #include "base/metrics/stats_counters.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 16 #include "base/time.h" | 16 #include "base/time.h" |
| 17 #include "base/utf_string_conversions.h" |
| 17 #include "base/values.h" | 18 #include "base/values.h" |
| 18 #include "chrome/browser/browser_list.h" | 19 #include "chrome/browser/browser_list.h" |
| 19 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 20 #include "chrome/browser/browser_thread.h" | 21 #include "chrome/browser/browser_thread.h" |
| 21 #include "chrome/browser/child_process_security_policy.h" | 22 #include "chrome/browser/child_process_security_policy.h" |
| 22 #include "chrome/browser/cross_site_request_manager.h" | 23 #include "chrome/browser/cross_site_request_manager.h" |
| 23 #include "chrome/browser/debugger/devtools_manager.h" | 24 #include "chrome/browser/debugger/devtools_manager.h" |
| 24 #include "chrome/browser/dom_operation_notification_details.h" | 25 #include "chrome/browser/dom_operation_notification_details.h" |
| 25 #include "chrome/browser/extensions/extension_message_service.h" | 26 #include "chrome/browser/extensions/extension_message_service.h" |
| 26 #include "chrome/browser/in_process_webkit/session_storage_namespace.h" | 27 #include "chrome/browser/in_process_webkit/session_storage_namespace.h" |
| (...skipping 2215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2242 if (printer_query.get()) { | 2243 if (printer_query.get()) { |
| 2243 BrowserThread::PostTask( | 2244 BrowserThread::PostTask( |
| 2244 BrowserThread::IO, FROM_HERE, | 2245 BrowserThread::IO, FROM_HERE, |
| 2245 NewRunnableMethod(printer_query.get(), | 2246 NewRunnableMethod(printer_query.get(), |
| 2246 &printing::PrinterQuery::StopWorker)); | 2247 &printing::PrinterQuery::StopWorker)); |
| 2247 } | 2248 } |
| 2248 | 2249 |
| 2249 // Send the printingDone msg for now. | 2250 // Send the printingDone msg for now. |
| 2250 Send(new ViewMsg_PrintingDone(routing_id(), -1, true)); | 2251 Send(new ViewMsg_PrintingDone(routing_id(), -1, true)); |
| 2251 } | 2252 } |
| OLD | NEW |