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 #include "chrome/browser/task_management/providers/web_contents/devtools_task.h"
7 #include "content/public/browser/web_contents.h"
9 namespace task_management
{
11 DevToolsTask::DevToolsTask(content::WebContents
* web_contents
)
12 : RendererTask(RendererTask::GetTitleFromWebContents(web_contents
),
13 RendererTask::GetFaviconFromWebContents(web_contents
),
15 web_contents
->GetRenderProcessHost()) {
18 DevToolsTask::~DevToolsTask() {
21 // task_management::RendererTask:
22 void DevToolsTask::UpdateTitle() {
23 // In the case of a devtools tab, we just ignore this event.
26 void DevToolsTask::UpdateFavicon() {
27 // In the case of a devtools tab, we just ignore this event.
30 } // namespace task_management