Searched refs:tab_ptr (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/chrome/browser/sync/glue/ |
D | synced_session_tracker.cc | 86 *tab = tab_iter->second.tab_ptr; in LookupSessionTab() 197 SessionTab* tab_ptr = tab_wrapper.tab_ptr; in DeleteOldSessionTabIfNecessary() local 199 if (tab_ptr->navigations.size() > 0) { in DeleteOldSessionTabIfNecessary() 201 tab_ptr->navigations[tab_ptr->navigations.size()-1].title()) + ")"; in DeleteOldSessionTabIfNecessary() 203 DVLOG(1) << "Deleting closed tab " << tab_ptr->tab_id.id() << title in DeleteOldSessionTabIfNecessary() 204 << " from window " << tab_ptr->window_id.id(); in DeleteOldSessionTabIfNecessary() 206 unmapped_tabs_.erase(tab_wrapper.tab_ptr); in DeleteOldSessionTabIfNecessary() 207 delete tab_wrapper.tab_ptr; in DeleteOldSessionTabIfNecessary() 287 SessionTab* tab_ptr = GetTabImpl( in PutTabInWindow() local 300 unmapped_tabs_.erase(tab_ptr); in PutTabInWindow() [all …]
|
D | synced_session_tracker.h | 167 SessionTabWrapper() : tab_ptr(NULL), in SessionTabWrapper() 170 SessionTabWrapper(SessionTab* tab_ptr, OwnedState owned, int tab_node_id) in SessionTabWrapper() 171 : tab_ptr(tab_ptr), in SessionTabWrapper() 174 SessionTab* tab_ptr; member
|
D | synced_session_tracker_unittest.cc | 144 const SessionTab *tab_ptr; in TEST_F() local 145 ASSERT_TRUE(tracker.LookupSessionTab(tag1, 0, &tab_ptr)); in TEST_F() 146 ASSERT_EQ(tab_ptr, tabs1[0]); in TEST_F() 147 ASSERT_TRUE(tracker.LookupSessionTab(tag1, 2, &tab_ptr)); in TEST_F() 148 ASSERT_EQ(tab_ptr, tabs1[2]); in TEST_F() 149 ASSERT_FALSE(tracker.LookupSessionTab(tag1, 3, &tab_ptr)); in TEST_F() 150 ASSERT_EQ(static_cast<const SessionTab*>(NULL), tab_ptr); in TEST_F()
|