1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_SUBFRAME_TASK_H_
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_SUBFRAME_TASK_H_
8 #include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
11 class RenderFrameHost
;
13 } // namespace content
15 namespace task_management
{
17 // Defines a concrete renderer task that can represent processes hosting
18 // out-of-process iframes.
19 class SubframeTask
: public RendererTask
{
21 SubframeTask(content::RenderFrameHost
* render_frame_host
,
22 content::WebContents
* web_contents
);
23 ~SubframeTask() override
;
25 // task_management::RendererTask:
26 void UpdateTitle() override
;
27 void UpdateFavicon() override
;
30 DISALLOW_COPY_AND_ASSIGN(SubframeTask
);
33 } // namespace task_management
36 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_SUBFRAME_TASK_H_