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