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

Unified Diff: content/shell/browser/shell_devtools_manager_delegate.cc

Issue 2755973003: DevTools: android shouldn't depend on devtools frontend (Closed)
Patch Set: cl fb Created 3 years, 9 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 | « content/shell/browser/shell_devtools_frontend.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_devtools_manager_delegate.cc
diff --git a/content/shell/browser/shell_devtools_manager_delegate.cc b/content/shell/browser/shell_devtools_manager_delegate.cc
index ea2549c4fa5dc4105afff5865dcb8f84cf2ba264..71bbf4c421ef58366b4cb0e31434e81e13530b6f 100644
--- a/content/shell/browser/shell_devtools_manager_delegate.cc
+++ b/content/shell/browser/shell_devtools_manager_delegate.cc
@@ -204,7 +204,11 @@ std::string ShellDevToolsManagerDelegate::GetDiscoveryPageHTML() {
std::string ShellDevToolsManagerDelegate::GetFrontendResource(
const std::string& path) {
+#if defined(OS_ANDROID)
+ return std::string();
+#else
return content::DevToolsFrontendHost::GetFrontendResource(path).as_string();
dgozman 2017/03/20 22:43:20 We should guard the include somewhere as well.
chenwilliam 2017/03/20 23:59:40 Done.
+#endif
}
} // namespace content
« no previous file with comments | « content/shell/browser/shell_devtools_frontend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698