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

Unified Diff: chrome/browser/chromeos/offline/offline_load_page_unittest.cc

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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/chromeos/offline/offline_load_page_unittest.cc
diff --git a/chrome/browser/chromeos/offline/offline_load_page_unittest.cc b/chrome/browser/chromeos/offline/offline_load_page_unittest.cc
index cfcd7a301ac15cb247f314ceeba1b2099498a06a..cc1a1820245f4e716c0420d217a8257f908f64a0 100644
--- a/chrome/browser/chromeos/offline/offline_load_page_unittest.cc
+++ b/chrome/browser/chromeos/offline/offline_load_page_unittest.cc
@@ -113,8 +113,8 @@ TEST_F(OfflineLoadPageTest, OfflinePageProceed) {
// Start a load.
Navigate(kURL1, 1);
// Load next page.
- controller().LoadURL(GURL(kURL2), GURL(), content::PAGE_TRANSITION_TYPED,
- std::string());
+ controller().LoadURL(GURL(kURL2), content::Referrer(),
+ content::PAGE_TRANSITION_TYPED, std::string());
// Simulate the load causing an offline browsing interstitial page
// to be shown.
@@ -141,8 +141,8 @@ TEST_F(OfflineLoadPageTest, OfflinePageProceed) {
TEST_F(OfflineLoadPageTest, OfflinePageDontProceed) {
// Start a load.
Navigate(kURL1, 1);
- controller().LoadURL(GURL(kURL2), GURL(), content::PAGE_TRANSITION_TYPED,
- std::string());
+ controller().LoadURL(GURL(kURL2), content::Referrer(),
+ content::PAGE_TRANSITION_TYPED, std::string());
// Simulate the load causing an offline interstitial page to be shown.
ShowInterstitial(kURL2);

Powered by Google App Engine
This is Rietveld 408576698