|  | // Copyright 2015 The Chromium Authors. All rights reserved. | 
|  | // Use of this source code is governed by a BSD-style license that can be | 
|  | // found in the LICENSE file. | 
|  |  | 
|  | #ifndef CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_PRINTING_TASK_H_ | 
|  | #define CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_PRINTING_TASK_H_ | 
|  |  | 
|  | #include "base/macros.h" | 
|  | #include "chrome/browser/task_manager/providers/web_contents/renderer_task.h" | 
|  |  | 
|  | namespace task_manager { | 
|  |  | 
|  | // Defines a task manager representation for WebContents that are created for | 
|  | // print previews and background printing. | 
|  | class PrintingTask : public RendererTask { | 
|  | public: | 
|  | explicit PrintingTask(content::WebContents* web_contents); | 
|  | ~PrintingTask() override; | 
|  |  | 
|  | // task_manager::RendererTask: | 
|  | void UpdateTitle() override; | 
|  | void UpdateFavicon() override; | 
|  |  | 
|  | private: | 
|  | DISALLOW_COPY_AND_ASSIGN(PrintingTask); | 
|  | }; | 
|  |  | 
|  | }  // namespace task_manager | 
|  |  | 
|  | #endif  // CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_PRINTING_TASK_H_ |