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

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

Issue 2767513002: Revert of DevTools: android shouldn't depend on devtools frontend (Closed)
Patch Set: 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
Index: content/shell/browser/shell_devtools_frontend.cc
diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc
index 4c4eedcfe5f5e395bc52cc8363c8591eee534326..0bab673f8edd3befd24d4300abcde6cb965df3ed 100644
--- a/content/shell/browser/shell_devtools_frontend.cc
+++ b/content/shell/browser/shell_devtools_frontend.cc
@@ -31,10 +31,6 @@
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_fetcher_response_writer.h"
-#if !defined(OS_ANDROID)
-#include "content/public/browser/devtools_frontend_host.h"
-#endif
-
namespace content {
namespace {
@@ -168,7 +164,6 @@
delete pair.first;
}
-#if !defined(OS_ANDROID)
void ShellDevToolsFrontend::RenderViewCreated(
RenderViewHost* render_view_host) {
if (!frontend_host_) {
@@ -178,14 +173,6 @@
base::Unretained(this))));
}
}
-#endif
-
-#if defined(OS_ANDROID)
-void ShellDevToolsFrontend::RenderViewCreated(
- RenderViewHost* render_view_host) {
- // No devtools frontend for android
-}
-#endif
void ShellDevToolsFrontend::DocumentAvailableInMainFrame() {
agent_host_ = DevToolsAgentHost::GetOrCreateFor(inspected_contents_);
« no previous file with comments | « content/shell/browser/shell_devtools_frontend.h ('k') | content/shell/browser/shell_devtools_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698