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

Unified Diff: chrome/browser/sync/profile_sync_service_session_unittest.cc

Issue 8806011: Make NavigationEntry and friends use content::Referrer instead of plain URLs (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
Index: chrome/browser/sync/profile_sync_service_session_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc
index 8a187e4b0f8e0d5922d645907e095476c826ab4f..f70312634aedc209dbeae3422e714fce1d7b91ed 100644
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc
@@ -142,7 +142,7 @@ void VerifySyncedSession(
ASSERT_EQ(1U, tab->navigations.size());
ASSERT_EQ(12, tab->navigations[0].index());
ASSERT_EQ(tab->navigations[0].virtual_url(), GURL("http://foo/1"));
- ASSERT_EQ(tab->navigations[0].referrer(), GURL("referrer"));
+ ASSERT_EQ(tab->navigations[0].referrer().url, GURL("referrer"));
ASSERT_EQ(tab->navigations[0].title(), string16(ASCIIToUTF16("title")));
ASSERT_EQ(tab->navigations[0].transition(),
content::PAGE_TRANSITION_TYPED);
« no previous file with comments | « chrome/browser/sync/glue/synced_session_tracker_unittest.cc ('k') | chrome/browser/sync/test/integration/sessions_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698