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

Unified Diff: chrome/test/perf/dromaeo_benchmark_uitest.cc

Issue 10820007: Move all the layout tests that ran under browser_tests to run under content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 5 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: chrome/test/perf/dromaeo_benchmark_uitest.cc
===================================================================
--- chrome/test/perf/dromaeo_benchmark_uitest.cc (revision 148205)
+++ chrome/test/perf/dromaeo_benchmark_uitest.cc (working copy)
@@ -16,6 +16,7 @@
#include "chrome/test/perf/perf_test.h"
#include "chrome/test/ui/javascript_test_util.h"
#include "chrome/test/ui/ui_perf_test.h"
+#include "content/public/test/browser_test_utils.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_util.h"
@@ -36,7 +37,7 @@
FilePath test_path = GetDromaeoDir();
std::string query_string = suite + "&automated";
test_path = test_path.Append(FILE_PATH_LITERAL("index.html"));
- GURL test_url(ui_test_utils::GetFileUrlWithQuery(test_path, query_string));
+ GURL test_url(content::GetFileUrlWithQuery(test_path, query_string));
scoped_refptr<TabProxy> tab(GetActiveTab());
ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, tab->NavigateToURL(test_url));

Powered by Google App Engine
This is Rietveld 408576698