Searched refs:session_tab (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/chrome/browser/android/ |
D | foreign_session_helper.cc | 49 bool ShouldSkipTab(const SessionTab& session_tab) { in ShouldSkipTab() argument 50 if (session_tab.navigations.empty()) in ShouldSkipTab() 53 int selected_index = session_tab.normalized_navigation_index(); in ShouldSkipTab() 55 session_tab.navigations.at(selected_index); in ShouldSkipTab() 66 const SessionTab &session_tab = **tab_it; in ShouldSkipWindow() local 67 if (!ShouldSkipTab(session_tab)) in ShouldSkipWindow() 89 const SessionTab &session_tab = **tab_it; in CopyTabsToJava() local 91 if (ShouldSkipTab(session_tab)) in CopyTabsToJava() 94 int selected_index = session_tab.normalized_navigation_index(); in CopyTabsToJava() 96 DCHECK(selected_index < static_cast<int>(session_tab.navigations.size())); in CopyTabsToJava() [all …]
|
D | recently_closed_tabs_bridge.cc | 112 SessionTab session_tab; in OpenRecentlyClosedTab() local 113 session_tab.current_navigation_index = tab_entry->current_navigation_index; in OpenRecentlyClosedTab() 114 session_tab.navigations = tab_entry->navigations; in OpenRecentlyClosedTab() 119 session_tab, in OpenRecentlyClosedTab()
|
/external/chromium_org/chrome/browser/sessions/ |
D | session_service_test_helper.cc | 73 const SessionTab& session_tab) { in AssertTabEquals() argument 74 EXPECT_EQ(window_id.id(), session_tab.window_id.id()); in AssertTabEquals() 75 EXPECT_EQ(tab_id.id(), session_tab.tab_id.id()); in AssertTabEquals() 76 AssertTabEquals(visual_index, nav_index, nav_count, session_tab); in AssertTabEquals() 83 const SessionTab& session_tab) { in AssertTabEquals() argument 84 EXPECT_EQ(visual_index, session_tab.tab_visual_index); in AssertTabEquals() 85 EXPECT_EQ(nav_index, session_tab.current_navigation_index); in AssertTabEquals() 86 ASSERT_EQ(nav_count, session_tab.navigations.size()); in AssertTabEquals()
|
D | session_restore_android.cc | 24 const SessionTab& session_tab, in RestoreForeignSessionTab() argument 26 DCHECK(session_tab.navigations.size() > 0); in RestoreForeignSessionTab() 33 session_tab.navigations, profile); in RestoreForeignSessionTab() 36 int selected_index = session_tab.normalized_navigation_index(); in RestoreForeignSessionTab()
|
D | session_service_test_helper.h | 63 const SessionTab& session_tab); 68 const SessionTab& session_tab);
|
/external/chromium_org/chrome/browser/sync/sessions/ |
D | sessions_sync_manager_unittest.cc | 547 SessionTab session_tab; in TEST_F() local 548 session_tab.window_id.set_id(1); in TEST_F() 549 session_tab.tab_id.set_id(1); in TEST_F() 550 session_tab.tab_visual_index = 1; in TEST_F() 551 session_tab.current_navigation_index = 1; in TEST_F() 552 session_tab.pinned = true; in TEST_F() 553 session_tab.extension_app_id = "app id"; in TEST_F() 554 session_tab.user_agent_override = "override"; in TEST_F() 555 session_tab.timestamp = kTime5; in TEST_F() 556 session_tab.navigations.push_back( in TEST_F() [all …]
|
D | sessions_sync_manager.cc | 883 SessionTab* session_tab = NULL; in LocalTabDelegateToSpecifics() local 884 session_tab = in LocalTabDelegateToSpecifics() 888 SetSessionTabFromDelegate(tab_delegate, base::Time::Now(), session_tab); in LocalTabDelegateToSpecifics() 889 sync_pb::SessionTab tab_s = session_tab->ToSyncData(); in LocalTabDelegateToSpecifics() 947 SessionTab* session_tab) { in SetSessionTabFromDelegate() argument 948 DCHECK(session_tab); in SetSessionTabFromDelegate() 949 session_tab->window_id.set_id(tab_delegate.GetWindowId()); in SetSessionTabFromDelegate() 950 session_tab->tab_id.set_id(tab_delegate.GetSessionId()); in SetSessionTabFromDelegate() 951 session_tab->tab_visual_index = 0; in SetSessionTabFromDelegate() 953 session_tab->current_navigation_index = -1; in SetSessionTabFromDelegate() [all …]
|
D | sessions_sync_manager.h | 301 SessionTab* session_tab);
|
/external/chromium_org/sync/protocol/ |
D | proto_value_conversions.h | 115 const sync_pb::SessionTab& session_tab);
|