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 #include "chrome/browser/printing/print_job_manager.h" | 5 #include "chrome/browser/printing/print_job_manager.h" |
6 | 6 |
7 #include "chrome/browser/printing/print_job.h" | 7 #include "chrome/browser/printing/print_job.h" |
8 #include "chrome/browser/printing/printer_query.h" | 8 #include "chrome/browser/printing/printer_query.h" |
9 #include "chrome/browser/printing/printed_document.h" | |
10 #include "chrome/browser/printing/printed_page.h" | |
11 #include "chrome/common/notification_service.h" | 9 #include "chrome/common/notification_service.h" |
| 10 #include "printing/printed_document.h" |
| 11 #include "printing/printed_page.h" |
12 | 12 |
13 namespace printing { | 13 namespace printing { |
14 | 14 |
15 PrintJobManager::PrintJobManager() { | 15 PrintJobManager::PrintJobManager() { |
16 registrar_.Add(this, NotificationType::PRINT_JOB_EVENT, | 16 registrar_.Add(this, NotificationType::PRINT_JOB_EVENT, |
17 NotificationService::AllSources()); | 17 NotificationService::AllSources()); |
18 } | 18 } |
19 | 19 |
20 PrintJobManager::~PrintJobManager() { | 20 PrintJobManager::~PrintJobManager() { |
21 AutoLock lock(lock_); | 21 AutoLock lock(lock_); |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 break; | 133 break; |
134 } | 134 } |
135 default: { | 135 default: { |
136 NOTREACHED(); | 136 NOTREACHED(); |
137 break; | 137 break; |
138 } | 138 } |
139 } | 139 } |
140 } | 140 } |
141 | 141 |
142 } // namespace printing | 142 } // namespace printing |
OLD | NEW |