Home
last modified time | relevance | path

Searched refs:session_tab (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chrome/browser/android/
Dforeign_session_helper.cc49 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 …]
Drecently_closed_tabs_bridge.cc112 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/
Dsession_service_test_helper.cc73 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()
Dsession_restore_android.cc24 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()
Dsession_service_test_helper.h63 const SessionTab& session_tab);
68 const SessionTab& session_tab);
/external/chromium_org/chrome/browser/sync/sessions/
Dsessions_sync_manager_unittest.cc547 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 …]
Dsessions_sync_manager.cc883 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 …]
Dsessions_sync_manager.h301 SessionTab* session_tab);
/external/chromium_org/sync/protocol/
Dproto_value_conversions.h115 const sync_pb::SessionTab& session_tab);