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 <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "base/threading/sequenced_worker_pool.h" | |
18 #include "base/threading/thread_restrictions.h" | 17 #include "base/threading/thread_restrictions.h" |
19 #include "base/threading/thread_task_runner_handle.h" | 18 #include "base/threading/thread_task_runner_handle.h" |
20 #include "base/threading/worker_pool.h" | 19 #include "base/threading/worker_pool.h" |
21 #include "build/build_config.h" | 20 #include "build/build_config.h" |
22 #include "chrome/browser/chrome_notification_types.h" | 21 #include "chrome/browser/chrome_notification_types.h" |
23 #include "chrome/browser/printing/print_job_worker.h" | 22 #include "chrome/browser/printing/print_job_worker.h" |
24 #include "content/public/browser/browser_thread.h" | 23 #include "content/public/browser/browser_thread.h" |
25 #include "content/public/browser/notification_service.h" | 24 #include "content/public/browser/notification_service.h" |
26 #include "printing/printed_document.h" | 25 #include "printing/printed_document.h" |
27 #include "printing/printed_page.h" | 26 #include "printing/printed_page.h" |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 } | 474 } |
476 | 475 |
477 JobEventDetails::~JobEventDetails() { | 476 JobEventDetails::~JobEventDetails() { |
478 } | 477 } |
479 | 478 |
480 PrintedDocument* JobEventDetails::document() const { return document_.get(); } | 479 PrintedDocument* JobEventDetails::document() const { return document_.get(); } |
481 | 480 |
482 PrintedPage* JobEventDetails::page() const { return page_.get(); } | 481 PrintedPage* JobEventDetails::page() const { return page_.get(); } |
483 | 482 |
484 } // namespace printing | 483 } // namespace printing |
OLD | NEW |