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

Unified Diff: chrome/browser/ui/browser_close_browsertest.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/browser/ui/browser_close_browsertest.cc
===================================================================
--- chrome/browser/ui/browser_close_browsertest.cc (revision 148448)
+++ chrome/browser/ui/browser_close_browsertest.cc (working copy)
@@ -25,6 +25,7 @@
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/download_item.h"
#include "content/public/common/page_transition_types.h"
+#include "content/public/test/browser_test_utils.h"
#include "content/test/net/url_request_slow_download_job.h"
using content::BrowserContext;
@@ -174,8 +175,7 @@
Browser* new_browser = new Browser(Browser::CreateParams(profile));
chrome::AddSelectedTabWithURL(new_browser, GURL(chrome::kAboutBlankURL),
content::PAGE_TRANSITION_START_PAGE);
- ui_test_utils::WaitForLoadStop(
- chrome::GetActiveWebContents(new_browser));
+ content::WaitForLoadStop(chrome::GetActiveWebContents(new_browser));
new_browser->window()->Show();
return new_browser;
}
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu_browsertest.cc ('k') | chrome/browser/ui/pdf/pdf_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698