OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/ref_counted.h" | 9 #include "base/ref_counted.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
11 #include "base/task.h" | 11 #include "base/task.h" |
12 #include "base/thread.h" | 12 #include "base/threading/thread.h" |
13 #include "gfx/native_widget_types.h" | 13 #include "gfx/native_widget_types.h" |
14 #include "printing/page_number.h" | 14 #include "printing/page_number.h" |
15 #include "printing/printing_context.h" | 15 #include "printing/printing_context.h" |
16 | 16 |
17 namespace printing { | 17 namespace printing { |
18 | 18 |
19 class PrintedDocument; | 19 class PrintedDocument; |
20 class PrintedPage; | 20 class PrintedPage; |
21 class PrintJob; | 21 class PrintJob; |
22 class PrintJobWorkerOwner; | 22 class PrintJobWorkerOwner; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 template <> | 125 template <> |
126 struct RunnableMethodTraits<printing::PrintJobWorker> { | 126 struct RunnableMethodTraits<printing::PrintJobWorker> { |
127 void RetainCallee(printing::PrintJobWorker* obj); | 127 void RetainCallee(printing::PrintJobWorker* obj); |
128 void ReleaseCallee(printing::PrintJobWorker* obj); | 128 void ReleaseCallee(printing::PrintJobWorker* obj); |
129 private: | 129 private: |
130 scoped_refptr<printing::PrintJobWorkerOwner> owner_; | 130 scoped_refptr<printing::PrintJobWorkerOwner> owner_; |
131 }; | 131 }; |
132 | 132 |
133 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ | 133 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_H__ |
OLD | NEW |