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_OWNER_H__ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_OWNER_H__ |
6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_OWNER_H__ | 6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_OWNER_H__ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "printing/printing_context.h" | 11 #include "printing/printing_context.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 class MessageLoop; | |
15 class SequencedTaskRunner; | 14 class SequencedTaskRunner; |
16 } | 15 } |
17 | 16 |
18 namespace tracked_objects { | 17 namespace tracked_objects { |
19 class Location; | 18 class Location; |
20 } | 19 } |
21 | 20 |
22 namespace printing { | 21 namespace printing { |
23 | 22 |
24 class PrintJobWorker; | 23 class PrintJobWorker; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual ~PrintJobWorkerOwner(); | 59 virtual ~PrintJobWorkerOwner(); |
61 | 60 |
62 // Task runner reference. Used to send notifications in the right | 61 // Task runner reference. Used to send notifications in the right |
63 // thread. | 62 // thread. |
64 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 63 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
65 }; | 64 }; |
66 | 65 |
67 } // namespace printing | 66 } // namespace printing |
68 | 67 |
69 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_OWNER_H__ | 68 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_WORKER_OWNER_H__ |
OLD | NEW |