OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/lock.h" | 11 #include "base/lock.h" |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
| 13 #include "chrome/common/notification_observer.h" |
13 #include "chrome/common/notification_registrar.h" | 14 #include "chrome/common/notification_registrar.h" |
14 | 15 |
15 namespace printing { | 16 namespace printing { |
16 | 17 |
17 class JobEventDetails; | 18 class JobEventDetails; |
18 class PrintedDocument; | 19 class PrintedDocument; |
19 class PrintJob; | 20 class PrintJob; |
20 class PrintedPage; | 21 class PrintedPage; |
21 class PrinterQuery; | 22 class PrinterQuery; |
22 | 23 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 60 |
60 // Current print jobs that are active. | 61 // Current print jobs that are active. |
61 PrintJobs current_jobs_; | 62 PrintJobs current_jobs_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(PrintJobManager); | 64 DISALLOW_COPY_AND_ASSIGN(PrintJobManager); |
64 }; | 65 }; |
65 | 66 |
66 } // namespace printing | 67 } // namespace printing |
67 | 68 |
68 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ | 69 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_MANAGER_H_ |
OLD | NEW |