OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/task_manager/printing_information.h" | 5 #include "chrome/browser/task_manager/printing_information.h" |
6 | 6 |
| 7 #include "base/macros.h" |
7 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
8 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/favicon/favicon_utils.h" | 11 #include "chrome/browser/favicon/favicon_utils.h" |
11 #include "chrome/browser/printing/background_printing_manager.h" | 12 #include "chrome/browser/printing/background_printing_manager.h" |
12 #include "chrome/browser/printing/print_preview_dialog_controller.h" | 13 #include "chrome/browser/printing/print_preview_dialog_controller.h" |
13 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
14 #include "chrome/browser/profiles/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
15 #include "chrome/browser/task_manager/renderer_resource.h" | 16 #include "chrome/browser/task_manager/renderer_resource.h" |
16 #include "chrome/browser/task_manager/task_manager.h" | 17 #include "chrome/browser/task_manager/task_manager.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 printing::PrintPreviewDialogController::GetInstance()->ForEachPreviewDialog( | 108 printing::PrintPreviewDialogController::GetInstance()->ForEachPreviewDialog( |
108 callback); | 109 callback); |
109 } | 110 } |
110 | 111 |
111 scoped_ptr<RendererResource> PrintingInformation::MakeResource( | 112 scoped_ptr<RendererResource> PrintingInformation::MakeResource( |
112 WebContents* web_contents) { | 113 WebContents* web_contents) { |
113 return scoped_ptr<RendererResource>(new PrintingResource(web_contents)); | 114 return scoped_ptr<RendererResource>(new PrintingResource(web_contents)); |
114 } | 115 } |
115 | 116 |
116 } // namespace task_manager | 117 } // namespace task_manager |
OLD | NEW |