OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/chrome_notification_types.h" |
7 #include "chrome/browser/printing/print_job.h" | 8 #include "chrome/browser/printing/print_job.h" |
8 #include "chrome/browser/printing/printer_query.h" | 9 #include "chrome/browser/printing/printer_query.h" |
9 #include "chrome/common/chrome_notification_types.h" | |
10 #include "content/public/browser/notification_service.h" | 10 #include "content/public/browser/notification_service.h" |
11 #include "printing/printed_document.h" | 11 #include "printing/printed_document.h" |
12 #include "printing/printed_page.h" | 12 #include "printing/printed_page.h" |
13 | 13 |
14 namespace printing { | 14 namespace printing { |
15 | 15 |
16 PrintJobManager::PrintJobManager() { | 16 PrintJobManager::PrintJobManager() { |
17 registrar_.Add(this, chrome::NOTIFICATION_PRINT_JOB_EVENT, | 17 registrar_.Add(this, chrome::NOTIFICATION_PRINT_JOB_EVENT, |
18 content::NotificationService::AllSources()); | 18 content::NotificationService::AllSources()); |
19 } | 19 } |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 break; | 117 break; |
118 } | 118 } |
119 default: { | 119 default: { |
120 NOTREACHED(); | 120 NOTREACHED(); |
121 break; | 121 break; |
122 } | 122 } |
123 } | 123 } |
124 } | 124 } |
125 | 125 |
126 } // namespace printing | 126 } // namespace printing |
OLD | NEW |