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

Unified Diff: content/browser/site_instance_unittest.cc

Issue 8224023: Don't show URL for pending new navigations initiated by the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts. Created 9 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
Index: content/browser/site_instance_unittest.cc
diff --git a/content/browser/site_instance_unittest.cc b/content/browser/site_instance_unittest.cc
index 339151d4e9ef5bfc3de8271e5e99d5426d9d5ec1..5c355dc23ba24936ce77a6e992322aaab6794db4 100644
--- a/content/browser/site_instance_unittest.cc
+++ b/content/browser/site_instance_unittest.cc
@@ -188,7 +188,8 @@ TEST_F(SiteInstanceTest, SiteInstanceDestructor) {
NavigationEntry* e1 = new NavigationEntry(instance, 0, url, GURL(),
string16(),
- content::PAGE_TRANSITION_LINK);
+ content::PAGE_TRANSITION_LINK,
+ false);
// Redundantly setting e1's SiteInstance shouldn't affect the ref count.
e1->set_site_instance(instance);
@@ -197,7 +198,8 @@ TEST_F(SiteInstanceTest, SiteInstanceDestructor) {
// Add a second reference
NavigationEntry* e2 = new NavigationEntry(instance, 0, url,
GURL(), string16(),
- content::PAGE_TRANSITION_LINK);
+ content::PAGE_TRANSITION_LINK,
+ false);
// Now delete both entries and be sure the SiteInstance goes away.
delete e1;
@@ -252,7 +254,8 @@ TEST_F(SiteInstanceTest, CloneNavigationEntry) {
NavigationEntry* e1 = new NavigationEntry(instance1, 0, url, GURL(),
string16(),
- content::PAGE_TRANSITION_LINK);
+ content::PAGE_TRANSITION_LINK,
+ false);
// Clone the entry
NavigationEntry* e2 = new NavigationEntry(*e1);
« no previous file with comments | « chrome/browser/ui/webui/html_dialog_tab_contents_delegate.cc ('k') | content/browser/tab_contents/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698