HomeSort by relevance Sort by last modified time
    Searched refs:ntp_ordinal_map_ (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/chrome/browser/extensions/
chrome_app_sorting.cc 75 // Create StringOrdinal values as required to ensure |ntp_ordinal_map_| has at
77 if (ntp_ordinal_map_.empty() && minimum_size > 0)
78 ntp_ordinal_map_[syncer::StringOrdinal::CreateInitialOrdinal()];
80 while (ntp_ordinal_map_.size() < minimum_size) {
82 ntp_ordinal_map_.rbegin()->first.CreateAfter();
84 ntp_ordinal_map_.insert(std::make_pair(filler, empty_ordinal_map));
145 for (PageOrdinalMap::iterator it = ntp_ordinal_map_.begin();
146 it != ntp_ordinal_map_.end();) {
150 ntp_ordinal_map_.erase(prev_it);
177 for (PageOrdinalMap::iterator page_it = ntp_ordinal_map_.begin()
    [all...]
chrome_app_sorting_unittest.cc 246 app_sorting->ntp_ordinal_map_.find(page);
247 EXPECT_TRUE(page_it != app_sorting->ntp_ordinal_map_.end());
584 EXPECT_TRUE(app_sorting->ntp_ordinal_map_.empty());
587 EXPECT_TRUE(app_sorting->ntp_ordinal_map_.empty());
593 EXPECT_EQ(1U, app_sorting->ntp_ordinal_map_.size());
594 EXPECT_EQ(2U, app_sorting->ntp_ordinal_map_[first_ordinal].size());
597 app_sorting->ntp_ordinal_map_[first_ordinal].find(first_ordinal);
603 EXPECT_EQ(1U, app_sorting->ntp_ordinal_map_.size());
604 EXPECT_EQ(1U, app_sorting->ntp_ordinal_map_[first_ordinal].size());
606 it = app_sorting->ntp_ordinal_map_[first_ordinal].find(first_ordinal)
    [all...]
chrome_app_sorting.h 124 // Ensures |ntp_ordinal_map_| is of |minimum_size| number of entries.
169 PageOrdinalMap ntp_ordinal_map_; member in class:extensions::ChromeAppSorting

Completed in 65 milliseconds