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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 2451363002: [DevTools] Move main target/connection to TargetManager. (Closed)
Patch Set: Created 4 years, 2 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
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 56a07d9091d3d81515f47a89d5cbf571247c0dc1..30aa9ef17020892227309dc308095638c5c469c7 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -216,15 +216,14 @@ bool IsSupportedDevToolsURL(const GURL& url, base::FilePath* path) {
if (p.IsAbsolute())
return false;
- base::FilePath inspector_dir;
- if (!PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir))
+ base::FilePath inspector_debug_dir;
+ if (!PathService::Get(chrome::DIR_INSPECTOR_DEBUG, &inspector_debug_dir))
return false;
- if (inspector_dir.empty())
+ if (inspector_debug_dir.empty())
return false;
- // Use the non-bundled and non-minified devtools app for development
- *path = inspector_dir.AppendASCII("debug").AppendASCII(relative_path);
+ *path = inspector_debug_dir.AppendASCII(relative_path);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698