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

Unified Diff: chrome/test/perf/rendering/throughput_tests.cc

Issue 10823029: Move WaitForLoadStop from ui_test_utils to browser_test_utils so that it can be reused in content_b… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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/rendering/throughput_tests.cc
===================================================================
--- chrome/test/perf/rendering/throughput_tests.cc (revision 148448)
+++ chrome/test/perf/rendering/throughput_tests.cc (working copy)
@@ -28,6 +28,7 @@
#include "chrome/test/perf/perf_test.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_switches.h"
+#include "content/public/test/browser_test_utils.h"
#include "content/public/test/test_utils.h"
#include "content/test/gpu/gpu_test_config.h"
#include "googleurl/src/gurl.h"
@@ -326,7 +327,7 @@
LOG(INFO) << gurl_.possibly_invalid_spec();
ui_test_utils::NavigateToURLWithDisposition(
browser(), gurl_, CURRENT_TAB, ui_test_utils::BROWSER_TEST_NONE);
- ui_test_utils::WaitForLoadStop(chrome::GetActiveWebContents(browser()));
+ content::WaitForLoadStop(chrome::GetActiveWebContents(browser()));
// Let the test spin up.
LOG(INFO) << "Spinning up test...";
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | content/browser/renderer_host/render_view_host_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698