Lines Matching refs:navigation
95 const SerializedNavigationEntry navigation;
96 EXPECT_EQ(-1, navigation.index());
97 EXPECT_EQ(0, navigation.unique_id());
98 EXPECT_EQ(GURL(), navigation.referrer().url);
99 EXPECT_EQ(WebKit::WebReferrerPolicyDefault, navigation.referrer().policy);
100 EXPECT_EQ(GURL(), navigation.virtual_url());
101 EXPECT_TRUE(navigation.title().empty());
102 EXPECT_FALSE(navigation.page_state().IsValid());
103 EXPECT_EQ(content::PAGE_TRANSITION_TYPED, navigation.transition_type());
104 EXPECT_FALSE(navigation.has_post_data());
105 EXPECT_EQ(-1, navigation.post_id());
106 EXPECT_EQ(GURL(), navigation.original_request_url());
107 EXPECT_FALSE(navigation.is_overriding_user_agent());
108 EXPECT_TRUE(navigation.timestamp().is_null());
109 EXPECT_TRUE(navigation.search_terms().empty());
110 EXPECT_FALSE(navigation.favicon_url().is_valid());
119 const SerializedNavigationEntry& navigation =
122 EXPECT_EQ(kIndex, navigation.index());
124 EXPECT_EQ(navigation_entry->GetUniqueID(), navigation.unique_id());
125 EXPECT_EQ(kReferrer.url, navigation.referrer().url);
126 EXPECT_EQ(kReferrer.policy, navigation.referrer().policy);
127 EXPECT_EQ(kVirtualURL, navigation.virtual_url());
128 EXPECT_EQ(kTitle, navigation.title());
129 EXPECT_EQ(kPageState, navigation.page_state());
130 EXPECT_EQ(kTransitionType, navigation.transition_type());
131 EXPECT_EQ(kHasPostData, navigation.has_post_data());
132 EXPECT_EQ(kPostID, navigation.post_id());
133 EXPECT_EQ(kOriginalRequestURL, navigation.original_request_url());
134 EXPECT_EQ(kIsOverridingUserAgent, navigation.is_overriding_user_agent());
135 EXPECT_EQ(kTimestamp, navigation.timestamp());
136 EXPECT_EQ(kFaviconURL, navigation.favicon_url());
145 const SerializedNavigationEntry& navigation =
148 EXPECT_EQ(kIndex, navigation.index());
149 EXPECT_EQ(kUniqueID, navigation.unique_id());
150 EXPECT_EQ(kReferrer.url, navigation.referrer().url);
151 EXPECT_EQ(WebKit::WebReferrerPolicyDefault, navigation.referrer().policy);
152 EXPECT_EQ(kVirtualURL, navigation.virtual_url());
153 EXPECT_EQ(kTitle, navigation.title());
154 EXPECT_EQ(kPageState, navigation.page_state());
155 EXPECT_EQ(kTransitionType, navigation.transition_type());
156 EXPECT_FALSE(navigation.has_post_data());
157 EXPECT_EQ(-1, navigation.post_id());
158 EXPECT_EQ(GURL(), navigation.original_request_url());
159 EXPECT_FALSE(navigation.is_overriding_user_agent());
160 EXPECT_TRUE(navigation.timestamp().is_null());
161 EXPECT_EQ(kSearchTerms, navigation.search_terms());
162 EXPECT_EQ(kFaviconURL, navigation.favicon_url());
205 const SerializedNavigationEntry& navigation =
210 navigation.ToNavigationEntry(kPageID, NULL));
238 const SerializedNavigationEntry& navigation =
241 const sync_pb::TabNavigation sync_data = navigation.ToSyncData();
275 const SerializedNavigationEntry& navigation =
278 const sync_pb::TabNavigation& sync_data = navigation.ToSyncData();