| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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_job.h" |    5 #include "chrome/browser/printing/print_job.h" | 
|    6  |    6  | 
|    7 #include "base/bind.h" |    7 #include "base/bind.h" | 
|    8 #include "base/bind_helpers.h" |    8 #include "base/bind_helpers.h" | 
|    9 #include "base/location.h" |    9 #include "base/location.h" | 
|   10 #include "base/message_loop/message_loop.h" |   10 #include "base/message_loop/message_loop.h" | 
|   11 #include "base/single_thread_task_runner.h" |   11 #include "base/single_thread_task_runner.h" | 
|   12 #include "base/thread_task_runner_handle.h" |   12 #include "base/thread_task_runner_handle.h" | 
|   13 #include "base/threading/thread_restrictions.h" |   13 #include "base/threading/thread_restrictions.h" | 
|   14 #include "base/threading/worker_pool.h" |   14 #include "base/threading/worker_pool.h" | 
 |   15 #include "build/build_config.h" | 
|   15 #include "chrome/browser/chrome_notification_types.h" |   16 #include "chrome/browser/chrome_notification_types.h" | 
|   16 #include "chrome/browser/printing/print_job_worker.h" |   17 #include "chrome/browser/printing/print_job_worker.h" | 
|   17 #include "content/public/browser/browser_thread.h" |   18 #include "content/public/browser/browser_thread.h" | 
|   18 #include "content/public/browser/notification_service.h" |   19 #include "content/public/browser/notification_service.h" | 
|   19 #include "printing/printed_document.h" |   20 #include "printing/printed_document.h" | 
|   20 #include "printing/printed_page.h" |   21 #include "printing/printed_page.h" | 
|   21  |   22  | 
|   22 #if defined(OS_WIN) |   23 #if defined(OS_WIN) | 
|   23 #include "chrome/browser/printing/pdf_to_emf_converter.h" |   24 #include "chrome/browser/printing/pdf_to_emf_converter.h" | 
|   24 #include "printing/pdf_render_settings.h" |   25 #include "printing/pdf_render_settings.h" | 
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  456 } |  457 } | 
|  457  |  458  | 
|  458 JobEventDetails::~JobEventDetails() { |  459 JobEventDetails::~JobEventDetails() { | 
|  459 } |  460 } | 
|  460  |  461  | 
|  461 PrintedDocument* JobEventDetails::document() const { return document_.get(); } |  462 PrintedDocument* JobEventDetails::document() const { return document_.get(); } | 
|  462  |  463  | 
|  463 PrintedPage* JobEventDetails::page() const { return page_.get(); } |  464 PrintedPage* JobEventDetails::page() const { return page_.get(); } | 
|  464  |  465  | 
|  465 }  // namespace printing |  466 }  // namespace printing | 
| OLD | NEW |