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

Unified Diff: chrome/browser/task_manager/printing_information.cc

Issue 1912773002: Remove the old task manager view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig's comments Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_manager/printing_information.cc
diff --git a/chrome/browser/task_manager/printing_information.cc b/chrome/browser/task_manager/printing_information.cc
index 4256e4e239770360c5e5e29787c6ab0b7e7a7cb9..242c39a61aa03c04067d608450de7dbbee394f3e 100644
--- a/chrome/browser/task_manager/printing_information.cc
+++ b/chrome/browser/task_manager/printing_information.cc
@@ -29,6 +29,8 @@ using content::WebContents;
namespace task_manager {
+#if defined(ENABLE_PRINT_PREVIEW)
tapted 2016/04/26 01:54:03 should this file just be excluded via gyp/gn rules
afakhry 2016/04/26 22:22:43 We can do that. This if def matches the already ex
+
class PrintingResource : public RendererResource {
public:
explicit PrintingResource(content::WebContents* web_contents);
@@ -114,4 +116,6 @@ std::unique_ptr<RendererResource> PrintingInformation::MakeResource(
return std::unique_ptr<RendererResource>(new PrintingResource(web_contents));
}
+#endif // defined(ENABLE_PRINT_PREVIEW)
+
} // namespace task_manager

Powered by Google App Engine
This is Rietveld 408576698