Lines Matching full:cookie_its
317 // Helper for GarbageCollection. If |cookie_its->size() > num_max|, remove the
318 // |num_max - num_purge| most recently accessed cookies from cookie_its.
320 // eviction in cookie_its.) The cookies returned will be in order sorted by
330 std::vector<CookieMonster::CookieMap::iterator>* cookie_its) {
332 if (cookie_its->size() > num_max) {
335 num_purge += cookie_its->size() - num_max;
336 DCHECK_GT(cookie_its->size(), num_purge);
339 std::partial_sort(cookie_its->begin(), cookie_its->begin() + num_purge + 1,
340 cookie_its->end(), LRUCookieSorter);
342 (*(cookie_its->begin() + num_purge))->second->LastAccessDate();
343 cookie_its->erase(cookie_its->begin() + num_purge, cookie_its->end());
1331 std::vector<CookieMap::iterator> cookie_its;
1333 current, cookies_.equal_range(key), &cookie_its);
1336 &oldest_removed, &cookie_its)) {
1344 cookie_its);
1347 cookie_its.erase(cookie_its.begin(),
1348 cookie_its.begin() + num_subject_to_global_purge);
1354 cookie_its);
1366 std::vector<CookieMap::iterator> cookie_its;
1370 &cookie_its);
1372 &oldest_left, &cookie_its)) {
1381 cookie_its);
1387 if (num_evicted == static_cast<int>(cookie_its.size())) {
1391 (*(cookie_its.begin() + num_evicted))->second->LastAccessDate();
1403 std::vector<CookieMap::iterator>* cookie_its) {
1417 } else if (cookie_its) {
1418 cookie_its->push_back(curit);
1429 std::vector<CookieMap::iterator>& cookie_its) {
1431 for (std::vector<CookieMap::iterator>::iterator it = cookie_its.begin();
1432 it != cookie_its.end(); it++) {