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

Unified Diff: chrome/browser/ui/webui/inspect_ui.cc

Issue 562513003: [DevTools] Unify workers and web contents handling in inspect_ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, fixed comment Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/inspect/inspect.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/inspect_ui.cc
diff --git a/chrome/browser/ui/webui/inspect_ui.cc b/chrome/browser/ui/webui/inspect_ui.cc
index a5b152ffc58d134a696879cc2235f8a75ea1574d..a887f73f2714657e937f17ba44756b2ab02a1d3e 100644
--- a/chrome/browser/ui/webui/inspect_ui.cc
+++ b/chrome/browser/ui/webui/inspect_ui.cc
@@ -371,9 +371,7 @@ void InspectUI::StartListeningNotifications() {
base::Bind(&InspectUI::PopulateTargets, base::Unretained(this));
AddTargetUIHandler(
- DevToolsTargetsUIHandler::CreateForRenderers(callback));
- AddTargetUIHandler(
- DevToolsTargetsUIHandler::CreateForWorkers(callback));
+ DevToolsTargetsUIHandler::CreateForLocal(callback));
if (profile->IsOffTheRecord()) {
ShowIncognitoWarning();
} else {
« no previous file with comments | « chrome/browser/resources/inspect/inspect.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698