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

Unified Diff: content/browser/web_contents/web_contents_view_aura_browsertest.cc

Issue 2640473003: Convert tests to use the non-deprecated WebContentsObserver navigation methods. (Closed)
Patch Set: split off SearchTabHelper test Created 3 years, 11 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/browser/web_contents/web_contents_view_aura_browsertest.cc
diff --git a/content/browser/web_contents/web_contents_view_aura_browsertest.cc b/content/browser/web_contents/web_contents_view_aura_browsertest.cc
index 88785e40412260eace366f13d59ea528f1d17865..1c2362cefe0111f98327f6ef8b45ec9957a8dde9 100644
--- a/content/browser/web_contents/web_contents_view_aura_browsertest.cc
+++ b/content/browser/web_contents/web_contents_view_aura_browsertest.cc
@@ -178,8 +178,7 @@ class NavigationWatcher : public WebContentsObserver {
private:
// Overridden from WebContentsObserver:
- void DidStartNavigationToPendingEntry(const GURL& validated_url,
- ReloadType reload_type) override {
+ void DidStartNavigation(NavigationHandle* navigation_handle) override {
clamy 2017/01/18 14:33:34 Note: the tests here could maybe use the TestNavig
jam 2017/01/18 16:35:21 Done.
navigated_ = true;
if (should_quit_loop_)
base::MessageLoop::current()->QuitWhenIdle();

Powered by Google App Engine
This is Rietveld 408576698