Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: chrome/browser/task_manager/printing_information.cc

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/favicon/favicon_tab_helper.h" 10 #include "chrome/browser/favicon/favicon_tab_helper.h"
11 #include "chrome/browser/printing/background_printing_manager.h" 11 #include "chrome/browser/printing/background_printing_manager.h"
12 #include "chrome/browser/printing/print_preview_dialog_controller.h" 12 #include "chrome/browser/printing/print_preview_dialog_controller.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/profiles/profile_manager.h" 14 #include "chrome/browser/profiles/profile_manager.h"
15 #include "chrome/browser/task_manager/renderer_resource.h" 15 #include "chrome/browser/task_manager/renderer_resource.h"
16 #include "chrome/browser/task_manager/task_manager.h" 16 #include "chrome/browser/task_manager/task_manager.h"
17 #include "chrome/browser/task_manager/task_manager_util.h" 17 #include "chrome/browser/task_manager/task_manager_util.h"
18 #include "content/public/browser/render_frame_host.h" 18 #include "content/public/browser/render_frame_host.h"
19 #include "content/public/browser/render_process_host.h" 19 #include "content/public/browser/render_process_host.h"
20 #include "content/public/browser/render_view_host.h" 20 #include "content/public/browser/render_view_host.h"
21 #include "content/public/browser/web_contents.h" 21 #include "content/public/browser/web_contents.h"
22 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
23 #include "ui/base/l10n/l10n_util.h" 23 #include "ui/base/l10n/l10n_util.h"
24 #include "ui/base/resource/resource_bundle.h"
25 #include "ui/gfx/image/image_skia.h" 24 #include "ui/gfx/image/image_skia.h"
26 25
27 using content::WebContents; 26 using content::WebContents;
28 27
29 namespace task_manager { 28 namespace task_manager {
30 29
31 class PrintingResource : public RendererResource { 30 class PrintingResource : public RendererResource {
32 public: 31 public:
33 explicit PrintingResource(content::WebContents* web_contents); 32 explicit PrintingResource(content::WebContents* web_contents);
34 virtual ~PrintingResource(); 33 virtual ~PrintingResource();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 printing::PrintPreviewDialogController::GetInstance()->ForEachPreviewDialog( 105 printing::PrintPreviewDialogController::GetInstance()->ForEachPreviewDialog(
107 callback); 106 callback);
108 } 107 }
109 108
110 scoped_ptr<RendererResource> PrintingInformation::MakeResource( 109 scoped_ptr<RendererResource> PrintingInformation::MakeResource(
111 WebContents* web_contents) { 110 WebContents* web_contents) {
112 return scoped_ptr<RendererResource>(new PrintingResource(web_contents)); 111 return scoped_ptr<RendererResource>(new PrintingResource(web_contents));
113 } 112 }
114 113
115 } // namespace task_manager 114 } // namespace task_manager
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698