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 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
12 #include "chrome/browser/printing/printer_query.h" | 13 #include "chrome/browser/printing/printer_query.h" |
13 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
14 #include "printing/page_number.h" | 15 #include "printing/page_number.h" |
15 #include "printing/print_job_constants.h" | 16 #include "printing/print_job_constants.h" |
16 #include "printing/printing_context.h" | 17 #include "printing/printing_context.h" |
17 | 18 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 150 |
150 // Used to generate a WeakPtr for callbacks. | 151 // Used to generate a WeakPtr for callbacks. |
151 base::WeakPtrFactory<PrintJobWorker> weak_factory_; | 152 base::WeakPtrFactory<PrintJobWorker> weak_factory_; |
152 | 153 |
153 DISALLOW_COPY_AND_ASSIGN(PrintJobWorker); | 154 DISALLOW_COPY_AND_ASSIGN(PrintJobWorker); |
154 }; | 155 }; |
155 | 156 |
156 } // namespace printing | 157 } // namespace printing |
157 | 158 |
158 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H_ | 159 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H_ |
OLD | NEW |