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

Unified Diff: content/shell/shell_browser_main.cc

Issue 10035034: Implement the skeleton of an android content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecessary bits. Created 8 years, 8 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/shell_browser_main.cc
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc
index f1343d9688711592a1db23d180b7ba1b6751dc6f..0bbc9ecfddb878986c4fa6bbdf133064bcf817a5 100644
--- a/content/shell/shell_browser_main.cc
+++ b/content/shell/shell_browser_main.cc
@@ -17,6 +17,11 @@
namespace {
GURL GetURLForLayoutTest(const char* test_name) {
+#if defined(OS_ANDROID)
+ // DumpRenderTree is not currently supported for Android using the content
+ // shell.
Yaron 2012/04/19 00:35:34 Add NOTIMPLEMENTED()
Ted C 2012/04/19 01:17:07 Done.
+ return GURL::EmptyGURL();
+#else
std::string path_or_url = test_name;
std::string pixel_hash;
std::string timeout;
@@ -38,6 +43,7 @@ GURL GetURLForLayoutTest(const char* test_name) {
webkit_support::SetCurrentDirectoryForFileURL(test_url);
}
return test_url;
+#endif
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698