| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/task_management/providers/web_contents/devtools_task.h" | 5 #include "chrome/browser/task_management/providers/web_contents/devtools_task.h" |
| 6 | 6 |
| 7 #include "content/public/browser/web_contents.h" | 7 #include "content/public/browser/web_contents.h" |
| 8 | 8 |
| 9 namespace task_management { | 9 namespace task_management { |
| 10 | 10 |
| 11 DevToolsTask::DevToolsTask(content::WebContents* web_contents) | 11 DevToolsTask::DevToolsTask(content::WebContents* web_contents) |
| 12 : RendererTask(RendererTask::GetTitleFromWebContents(web_contents), | 12 : TabContentsTask(web_contents) { |
| 13 RendererTask::GetFaviconFromWebContents(web_contents), | |
| 14 web_contents, | |
| 15 web_contents->GetRenderProcessHost()) { | |
| 16 } | 13 } |
| 17 | 14 |
| 18 DevToolsTask::~DevToolsTask() { | 15 DevToolsTask::~DevToolsTask() { |
| 19 } | 16 } |
| 20 | 17 |
| 21 void DevToolsTask::UpdateTitle() { | |
| 22 // In the case of a devtools tab, we just ignore this event. | |
| 23 } | |
| 24 | |
| 25 void DevToolsTask::UpdateFavicon() { | |
| 26 // In the case of a devtools tab, we just ignore this event. | |
| 27 } | |
| 28 | |
| 29 } // namespace task_management | 18 } // namespace task_management |
| OLD | NEW |