/external/chromium_org/chrome/browser/ui/ |
browser_tabrestore.h | 28 // SerializedNavigationEntry in |navigations| to select. If |extension_app_id| 32 // |navigations| are from the previous session. |user_agent_override| contains 33 // the string being used as the user agent for all of the tab's navigations when 38 const std::vector<sessions::SerializedNavigationEntry>& navigations, 53 const std::vector<sessions::SerializedNavigationEntry>& navigations,
|
browser_tabrestore.cc | 41 const std::vector<SerializedNavigationEntry>& navigations, 48 GURL restore_url = navigations.at(selected_navigation).virtual_url(); 74 navigations, browser->profile()); 88 const std::vector<SerializedNavigationEntry>& navigations, 98 navigations, 142 const std::vector<SerializedNavigationEntry>& navigations, 149 navigations,
|
browser_tab_restore_service_delegate.cc | 53 const std::vector<sessions::SerializedNavigationEntry>& navigations, 62 return chrome::AddRestoredTab(browser_, navigations, tab_index, 69 const std::vector<sessions::SerializedNavigationEntry>& navigations, 75 return chrome::ReplaceRestoredTab(browser_, navigations, selected_navigation,
|
browser_tab_restore_service_delegate.h | 34 const std::vector<sessions::SerializedNavigationEntry>& navigations, 44 const std::vector<sessions::SerializedNavigationEntry>& navigations,
|
/external/chromium_org/chrome/browser/sessions/ |
session_types_unittest.cc | 70 tab.navigations.resize(100); 82 ASSERT_EQ(5u, tab.navigations.size()); 84 EXPECT_EQ(i, tab.navigations[i].index()); 85 EXPECT_EQ(GURL("referrer"), tab.navigations[i].referrer().url); 86 EXPECT_EQ(base::ASCIIToUTF16("title"),tab.navigations[i].title()); 88 tab.navigations[i].transition_type()); 90 tab.navigations[i].virtual_url()); 106 tab.navigations.push_back( 121 EXPECT_EQ(tab.navigations[i].virtual_url().spec(), 123 EXPECT_EQ(base::UTF16ToUTF8(tab.navigations[i].title()) [all...] |
persistent_tab_restore_service_unittest.cc | 216 ASSERT_EQ(3U, tab->navigations.size()); 217 EXPECT_TRUE(url1_ == tab->navigations[0].virtual_url()); 218 EXPECT_TRUE(url2_ == tab->navigations[1].virtual_url()); 219 EXPECT_TRUE(url3_ == tab->navigations[2].virtual_url()); 239 ASSERT_EQ(3U, tab->navigations.size()); 240 EXPECT_EQ(url1_, tab->navigations[0].virtual_url()); 241 EXPECT_EQ(url2_, tab->navigations[1].virtual_url()); 242 EXPECT_EQ(url3_, tab->navigations[2].virtual_url()); 250 // navigations. 274 ASSERT_EQ(3U, tab->navigations.size()) [all...] |
session_types.cc | 35 navigations.clear(); 37 navigations.push_back( 52 it = navigations.begin(); it != navigations.end(); ++it) {
|
session_restore_android.cc | 26 DCHECK(session_tab.navigations.size() > 0); 33 session_tab.navigations, profile);
|
session_types.h | 36 // of navigations in the current sessions (chrome://newtab is not stored), we 41 static_cast<int>(navigations.size() - 1))); 46 // |navigations|. Note that the sync protocol buffer doesn't 52 // Uses SerializedNavigationEntry::ToSyncData to convert |navigations|. Note 72 // Identifies the index of the current navigation in navigations. For 73 // example, if this is 2 it means the current navigation is navigations[2]. 76 // to SerializedNavigationEntry.index, not the index in navigations. When done 77 // creating though, this is set to the index in navigations. 79 // NOTE 2: this value can be larger than the size of |navigations|, due to 81 // checking must be performed before indexing into |navigations| 97 std::vector<sessions::SerializedNavigationEntry> navigations; member in struct:SessionTab [all...] |
tab_restore_service_delegate.h | 52 const std::vector<sessions::SerializedNavigationEntry>& navigations, 62 const std::vector<sessions::SerializedNavigationEntry>& navigations,
|
session_service_unittest.cc | 209 helper_.AssertNavigationEquals(nav1, tab->navigations[0]); 261 helper_.AssertNavigationEquals(nav1, tab->navigations[0]); 294 ASSERT_EQ(3u, tab->navigations.size()); 295 helper_.AssertNavigationEquals(nav1, tab->navigations[0]); 296 helper_.AssertNavigationEquals(nav2, tab->navigations[1]); 297 helper_.AssertNavigationEquals(nav1, tab->navigations[2]); 337 helper_.AssertNavigationEquals(nav1, tab->navigations[0]); 341 helper_.AssertNavigationEquals(nav2, tab->navigations[0]); 374 helper_.AssertNavigationEquals(nav1, tab->navigations[0]); 407 helper_.AssertNavigationEquals(nav1, tab->navigations[0]) [all...] |
tab_restore_service_helper.cc | 40 GURL url = tab.navigations.at(tab.current_navigation_index).virtual_url(); 112 if (local_tab->navigations.empty()) 138 if (window->tabs[entry_index].navigations.empty()) { 248 tab.navigations, 411 tab->navigations.resize(static_cast<int>(entry_count)); 415 tab->navigations[i] = 457 tab.navigations, 491 web_contents = delegate->AddRestoredTab(tab.navigations, 511 if (tab->navigations.empty()) 516 static_cast<int>(tab->navigations.size()) - 1)) [all...] |
session_service_test_helper.cc | 84 ASSERT_EQ(nav_count, session_tab.navigations.size()); 101 EXPECT_EQ(nav_count, windows[0]->tabs[0]->navigations.size());
|
persistent_tab_restore_service.cc | 188 // Validates all entries in |entries|, deleting any with no navigations. This 424 const std::vector<sessions::SerializedNavigationEntry>& navigations = local 425 tab.navigations; 426 int max_index = static_cast<int>(navigations.size()); 433 if (ShouldTrackEntry(navigations[i].virtual_url())) { 465 // Then write the navigations. 468 if (ShouldTrackEntry(navigations[i].virtual_url())) { 471 navigations[i])); 526 const std::vector<sessions::SerializedNavigationEntry>& navigations = local 527 tab.navigations; [all...] |
tab_restore_service.h | 84 // The navigations. 85 std::vector<sessions::SerializedNavigationEntry> navigations; member in struct:TabRestoreService::Tab 87 // Index of the selected navigation in navigations. 106 // The user agent override used for the tab's navigations (if applicable).
|
session_service.cc | [all...] |
session_restore.cc | 635 DCHECK(!tab.navigations.empty()); 640 static_cast<int>(tab.navigations.size() - 1))); 654 tab.navigations, 665 tab.navigations, [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
session_sync_test_helper.cc | 78 ASSERT_EQ(1U, tab->navigations.size()); 83 ASSERT_EQ(1U, tab->navigations.size()); 84 ASSERT_EQ(tab->navigations[0].virtual_url(), GURL(kVirtualUrl)); 85 ASSERT_EQ(tab->navigations[0].referrer().url, GURL(kReferrer)); 86 ASSERT_EQ(tab->navigations[0].title(), 88 ASSERT_EQ(tab->navigations[0].transition_type(),
|
synced_session.cc | 61 if (tab.navigations.empty()) 64 for (size_t i = 0; i < tab.navigations.size(); ++i) { 65 const GURL& virtual_url = tab.navigations.at(i).virtual_url();
|
synced_session_tracker.cc | 199 if (tab_ptr->navigations.size() > 0) { 201 tab_ptr->navigations[tab_ptr->navigations.size()-1].title()) + ")"; 348 if (tab_ptr->navigations.size() > 0) { 350 tab_ptr->navigations[tab_ptr->navigations.size()-1].title()) + ")";
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
single_client_sessions_sync_test.cc | 84 it3 = (*it2)->navigations.begin(); 85 it3 != (*it2)->navigations.end(); ++it3) { 118 it3 = (*it2)->navigations.begin(); 119 it3 != (*it2)->navigations.end(); ++it3) {
|
sessions_helper.cc | 89 if ((*tab_it)->navigations.size() == 0) { 90 DVLOG(1) << "Empty navigations vector"; 94 nav = (*tab_it)->navigations[nav_index]; 209 new_tab->navigations.resize(tab.navigations.size()); 210 std::copy(tab.navigations.begin(), tab.navigations.end(), 211 new_tab->navigations.begin()); 330 for (size_t n = 0; n < client0_tab->navigations.size(); ++n) { 331 if (!NavigationEquals(client0_tab->navigations[n] [all...] |
/external/chromium_org/chrome/browser/android/ |
recently_closed_tabs_bridge.cc | 30 tab->navigations.at(tab->current_navigation_index); 114 session_tab.navigations = tab_entry->navigations;
|
foreign_session_helper.cc | 50 if (session_tab.navigations.empty()) 55 selected_index >= static_cast<int>(session_tab.navigations.size())) 59 session_tab.navigations.at(selected_index); 100 DCHECK(selected_index < static_cast<int>(session_tab.navigations.size())); 103 session_tab.navigations.at(selected_index); 271 if (session_tab->navigations.empty()) { 272 LOG(ERROR) << "Foreign tab no longer has valid navigations.";
|
/external/chromium_org/chrome/browser/sync/sessions/ |
sessions_sync_manager_unittest.cc | 458 // Test that we exclude tabs with only chrome:// and file:// schemed navigations 547 session_tab.navigations.push_back( 561 ASSERT_EQ(3u, session_tab.navigations.size()); 563 session_tab.navigations[0].virtual_url()); 565 session_tab.navigations[1].virtual_url()); 567 session_tab.navigations[2].virtual_url()); 568 EXPECT_EQ(kTime1, session_tab.navigations[0].timestamp()); 569 EXPECT_EQ(kTime2, session_tab.navigations[1].timestamp()); 570 EXPECT_EQ(kTime3, session_tab.navigations[2].timestamp()); 571 EXPECT_EQ(200, session_tab.navigations[0].http_status_code()) [all...] |