diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 18:09:07 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 18:09:07 +0000 |
commit | 1e5645ff803bf73889ced446dab5b5f81e6023c0 (patch) | |
tree | 560899029aee3d7b933ae5baf1e17f89d90696a1 /chrome/browser/session_service_unittest.cc | |
parent | 473343c408b846fda90eba9bd7cf96a342f6f286 (diff) | |
download | chromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.zip chromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.tar.gz chromium_src-1e5645ff803bf73889ced446dab5b5f81e6023c0.tar.bz2 |
Cleanup navigation_entry.h. I made the accessors consistent and in Google style, and organized and commented all the entries. Hopefully it will be much easier to find things and deal with this class.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/session_service_unittest.cc')
-rw-r--r-- | chrome/browser/session_service_unittest.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/browser/session_service_unittest.cc b/chrome/browser/session_service_unittest.cc index 02c8191..d24ec11 100644 --- a/chrome/browser/session_service_unittest.cc +++ b/chrome/browser/session_service_unittest.cc @@ -45,11 +45,12 @@ class SessionServiceTest : public testing::Test { const TabNavigation& navigation, bool select) { NavigationEntry entry(TAB_CONTENTS_UNKNOWN_TYPE); - entry.SetURL(navigation.url); - entry.SetTitle(navigation.title); - entry.SetContentState(navigation.state); - entry.SetTransitionType(navigation.transition); - entry.SetHasPostData(navigation.type_mask & TabNavigation::HAS_POST_DATA); + entry.set_url(navigation.url); + entry.set_title(navigation.title); + entry.set_content_state(navigation.state); + entry.set_transition_type(navigation.transition); + entry.set_has_post_data( + navigation.type_mask & TabNavigation::HAS_POST_DATA); service()->UpdateTabNavigation(window_id, tab_id, navigation.index, entry); if (select) service()->SetSelectedNavigationIndex(window_id, tab_id, |