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

Unified Diff: chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc

Issue 10978016: Remove two functions on WebContentsDelegate which didn't belong in content. They were only called f… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits and fixed prerender browser tests Created 8 years, 3 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/webui/web_dialog_web_contents_delegate_unittest.cc
===================================================================
--- chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc (revision 158566)
+++ chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc (working copy)
@@ -66,8 +66,6 @@
history::HistoryAddPageArgs should_add_args(
GURL(), base::Time::Now(), 0, 0, GURL(), history::RedirectList(),
content::PAGE_TRANSITION_TYPED, history::SOURCE_SYNCED, false);
- EXPECT_FALSE(test_web_contents_delegate_->ShouldAddNavigationToHistory(
- should_add_args, content::NAVIGATION_TYPE_NEW_PAGE));
test_web_contents_delegate_->NavigationStateChanged(NULL, 0);
test_web_contents_delegate_->ActivateContents(NULL);
test_web_contents_delegate_->LoadingStateChanged(NULL);

Powered by Google App Engine
This is Rietveld 408576698