Commit 29797557 authored by Connor Clark's avatar Connor Clark Committed by Commit Bot

DevTools: Set remote base for CrOS

Bug: 747349, 941561, 998345, 1010973
Change-Id: If0291306adfb499caf66832495ba49fde7423ab2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881496Reviewed-by: default avatarPaul Irish <paulirish@chromium.org>
Reviewed-by: default avatarBenedikt Meurer <bmeurer@chromium.org>
Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710027}
parent bce22be7
...@@ -1060,13 +1060,8 @@ GURL DevToolsWindow::GetDevToolsURL(Profile* profile, ...@@ -1060,13 +1060,8 @@ GURL DevToolsWindow::GetDevToolsURL(Profile* profile,
bool has_other_clients) { bool has_other_clients) {
std::string url; std::string url;
// Modules are always bundled in CrOS.
#if defined(OS_CHROMEOS)
std::string remote_base = "?";
#else
std::string remote_base = std::string remote_base =
"?remoteBase=" + DevToolsUI::GetRemoteBaseURL().spec(); "?remoteBase=" + DevToolsUI::GetRemoteBaseURL().spec();
#endif
const std::string valid_frontend = const std::string valid_frontend =
frontend_url.empty() ? chrome::kChromeUIDevToolsURL : frontend_url; frontend_url.empty() ? chrome::kChromeUIDevToolsURL : frontend_url;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment