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 |