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 #pragma once | |
8 | 7 |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
12 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
13 #include "printing/page_number.h" | 12 #include "printing/page_number.h" |
14 #include "printing/print_destination_interface.h" | 13 #include "printing/print_destination_interface.h" |
15 #include "printing/printing_context.h" | 14 #include "printing/printing_context.h" |
16 #include "printing/print_job_constants.h" | 15 #include "printing/print_job_constants.h" |
17 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 134 |
136 // Used to generate a WeakPtr for callbacks. | 135 // Used to generate a WeakPtr for callbacks. |
137 base::WeakPtrFactory<PrintJobWorker> weak_factory_; | 136 base::WeakPtrFactory<PrintJobWorker> weak_factory_; |
138 | 137 |
139 DISALLOW_COPY_AND_ASSIGN(PrintJobWorker); | 138 DISALLOW_COPY_AND_ASSIGN(PrintJobWorker); |
140 }; | 139 }; |
141 | 140 |
142 } // namespace printing | 141 } // namespace printing |
143 | 142 |
144 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ | 143 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ |
OLD | NEW |