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

Unified Diff: chrome/browser/site_instance_unittest.cc

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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
« no previous file with comments | « chrome/browser/session_restore.cc ('k') | chrome/browser/tab_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/site_instance_unittest.cc
===================================================================
--- chrome/browser/site_instance_unittest.cc (revision 3991)
+++ chrome/browser/site_instance_unittest.cc (working copy)
@@ -75,6 +75,7 @@
EXPECT_EQ(0, siteDeleteCounter);
NavigationEntry* e1 = new NavigationEntry(TAB_CONTENTS_WEB, instance, 0, url,
+ GURL(),
std::wstring(),
PageTransition::LINK);
@@ -84,7 +85,7 @@
// Add a second reference
NavigationEntry* e2 = new NavigationEntry(TAB_CONTENTS_WEB, instance, 0, url,
- std::wstring(),
+ GURL(), std::wstring(),
PageTransition::LINK);
// Now delete both entries and be sure the SiteInstance goes away.
@@ -135,7 +136,7 @@
&browsingDeleteCounter);
NavigationEntry* e1 = new NavigationEntry(TAB_CONTENTS_WEB, instance1, 0,
- url,
+ url, GURL(),
std::wstring(),
PageTransition::LINK);
// Clone the entry
« no previous file with comments | « chrome/browser/session_restore.cc ('k') | chrome/browser/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698