| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/task.h" | |
| 13 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
| 14 #include "printing/page_number.h" | 13 #include "printing/page_number.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" |
| 18 | 17 |
| 19 namespace base { | 18 namespace base { |
| 20 class DictionaryValue; | 19 class DictionaryValue; |
| 21 } | 20 } |
| 22 | 21 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 127 |
| 129 // Used to generate a WeakPtr for callbacks. | 128 // Used to generate a WeakPtr for callbacks. |
| 130 base::WeakPtrFactory<PrintJobWorker> weak_factory_; | 129 base::WeakPtrFactory<PrintJobWorker> weak_factory_; |
| 131 | 130 |
| 132 DISALLOW_COPY_AND_ASSIGN(PrintJobWorker); | 131 DISALLOW_COPY_AND_ASSIGN(PrintJobWorker); |
| 133 }; | 132 }; |
| 134 | 133 |
| 135 } // namespace printing | 134 } // namespace printing |
| 136 | 135 |
| 137 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ | 136 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ |
| OLD | NEW |