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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.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/extensions/api/web_navigation/web_navigation_apitest.cc
===================================================================
--- chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc (revision 148448)
+++ chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc (working copy)
@@ -15,6 +15,7 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/context_menu_params.h"
+#include "content/public/test/browser_test_utils.h"
#include "net/base/mock_host_resolver.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
@@ -172,7 +173,7 @@
RunExtensionSubtest("webnavigation", "test_userAction.html")) << message_;
WebContents* tab = chrome::GetActiveWebContents(browser());
- ui_test_utils::WaitForLoadStop(tab);
+ content::WaitForLoadStop(tab);
ResultCatcher catcher;
@@ -210,7 +211,7 @@
<< message_;
WebContents* tab = chrome::GetActiveWebContents(browser());
- ui_test_utils::WaitForLoadStop(tab);
+ content::WaitForLoadStop(tab);
ResultCatcher catcher;
@@ -247,7 +248,7 @@
<< message_;
WebContents* tab = chrome::GetActiveWebContents(browser());
- ui_test_utils::WaitForLoadStop(tab);
+ content::WaitForLoadStop(tab);
ResultCatcher catcher;
« no previous file with comments | « chrome/browser/browser_focus_uitest.cc ('k') | chrome/browser/extensions/api/web_request/web_request_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698