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

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

Issue 8785004: Change NavigationController::LoadURL to take a Referrer class instead of a GURL as referrer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates 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
« no previous file with comments | « chrome/browser/chromeos/notifications/balloon_view.cc ('k') | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/chromeos/notifications/balloon_view.cc ('k') | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698