chrome/browser/sessions/session_types_unittest.cc
// Create a NavigationEntry from the constants above.
Create a NavigationEntry from the constants above.
Create a NavigationEntry from the constants above .
scoped_ptr<content::NavigationEntry> MakeNavigationEntryForTest() {
  scoped_ptr<content::NavigationEntry> navigation_entry(
      content::NavigationEntry::Create());
  navigation_entry->SetReferrer(kReferrer);
  navigation_entry->SetVirtualURL(kVirtualURL);
  navigation_entry->SetTitle(kTitle);
  navigation_entry->SetContentState(kContentState);
  navigation_entry->SetTransitionType(kTransitionType);
  navigation_entry->SetHasPostData(kHasPostData);
  navigation_entry->SetPostID(kPostID);
  navigation_entry->SetOriginalRequestURL(kOriginalRequestURL);
  navigation_entry->SetIsOverridingUserAgent(kIsOverridingUserAgent);
  navigation_entry->SetTimestamp(kTimestamp);
  return navigation_entry.Pass();
}
scoped_ptr < content :: NavigationEntry > MakeNavigationEntryForTest ( ) { scoped_ptr < content :: NavigationEntry > navigation_entry ( content :: NavigationEntry :: Create ( ) ) ; navigation_entry -> SetReferrer ( kReferrer ) ; navigation_entry -> SetVirtualURL ( kVirtualURL ) ; navigation_entry -> SetTitle ( kTitle ) ; navigation_entry -> SetContentState ( kContentState ) ; navigation_entry -> SetTransitionType ( kTransitionType ) ; navigation_entry -> SetHasPostData ( kHasPostData ) ; navigation_entry -> SetPostID ( kPostID ) ; navigation_entry -> SetOriginalRequestURL ( kOriginalRequestURL ) ; navigation_entry -> SetIsOverridingUserAgent ( kIsOverridingUserAgent ) ; navigation_entry -> SetTimestamp ( kTimestamp ) ; return navigation_entry . Pass ( ) ; }
Create a NavigationEntry from the constants above.
Create a NavigationEntry from the constants above .