summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_browser_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell_browser_main.cc')
-rw-r--r--content/shell/shell_browser_main.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc
index 62f1fb1..8628d95 100644
--- a/content/shell/shell_browser_main.cc
+++ b/content/shell/shell_browser_main.cc
@@ -20,12 +20,6 @@ namespace {
GURL GetURLForLayoutTest(const char* test_name,
std::string* expected_pixel_hash) {
-#if defined(OS_ANDROID)
- // DumpRenderTree is not currently supported for Android using the content
- // shell.
- NOTIMPLEMENTED();
- return GURL::EmptyGURL();
-#else
std::string path_or_url = test_name;
std::string pixel_hash;
std::string::size_type separator_position = path_or_url.find('\'');
@@ -42,7 +36,6 @@ GURL GetURLForLayoutTest(const char* test_name,
webkit_support::SetCurrentDirectoryForFileURL(test_url);
}
return test_url;
-#endif
}
} // namespace
@@ -71,6 +64,11 @@ int ShellBrowserMain(const content::MainFunctionParams& parameters) {
static_cast<content::ShellContentBrowserClient*>(
content::GetContentClient()->browser())->browser_context();
+#if defined(OS_ANDROID)
+ puts("#READY");
+ fflush(stdout);
+#endif
+
while (fgets(test_string, sizeof(test_string), stdin)) {
char *new_line_position = strchr(test_string, '\n');
if (new_line_position)