Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Side by Side Diff: chrome/browser/task_management/providers/web_contents/devtools_task.cc

Issue 1989393003: Fix bugs in the new task manager Impl so that ported old browsertests pass (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nicks comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698