OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kMaxTypedUrlVisits
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/chrome/browser/history/
typed_url_syncable_service.cc
20
static const int
kMaxTypedUrlVisits
= 100;
25
// from
kMaxTypedUrlVisits
, as some of the visits fetched from the DB may be
342
if (visits.size() > static_cast<size_t>(
kMaxTypedUrlVisits
)) {
363
if (typed_count >
kMaxTypedUrlVisits
) {
365
skip_count = typed_count -
kMaxTypedUrlVisits
;
366
} else if (total >
kMaxTypedUrlVisits
) {
367
skip_count = total -
kMaxTypedUrlVisits
;
406
CHECK_LE(typed_url->visits_size(),
kMaxTypedUrlVisits
);
typed_url_syncable_service_unittest.cc
32
const int
kMaxTypedUrlVisits
= 100;
540
// Add |
kMaxTypedUrlVisits
| + 10 visits to the url. The 10 oldest
543
for (; i <=
kMaxTypedUrlVisits
- 20; ++i)
545
for (; i <=
kMaxTypedUrlVisits
; ++i)
547
for (; i <=
kMaxTypedUrlVisits
+ 10; ++i)
562
ASSERT_EQ(
kMaxTypedUrlVisits
, url_specifics.visits_size());
577
EXPECT_EQ(
kMaxTypedUrlVisits
- 10, num_typed_visits_synced);