Searched refs:visits_size (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/chrome/browser/sync/glue/ |
D | typed_url_model_associator.cc | 277 if (typed_url.visits_size() > 0) { in DoAssociateModels() 343 typed_url.visit_transitions_size() != typed_url.visits_size()) { in DoAssociateModels() 347 DCHECK_EQ(typed_url.visits_size(), typed_url.visit_transitions_size()); in DoAssociateModels() 362 if (filtered_url.visits_size() == 0) { in DoAssociateModels() 449 for (int i = 0; i < source.visits_size(); ++i) { in FilterExpiredVisits() 456 DCHECK(specifics.visits_size() == specifics.visit_transitions_size()); in FilterExpiredVisits() 567 CHECK_EQ(node.visits_size(), node.visit_transitions_size()); in MergeUrls() 572 if (node.visits_size() == 0) in MergeUrls() 578 node.visits(node.visits_size() - 1)); in MergeUrls() 603 size_t node_num_visits = node.visits_size(); in MergeUrls() [all …]
|
D | typed_url_model_associator_unittest.cc | 331 EXPECT_EQ(2, typed_url.visits_size()); in TEST_F() 332 EXPECT_EQ(typed_url.visit_transitions_size(), typed_url.visits_size()); in TEST_F() 353 EXPECT_EQ(100, typed_url.visits_size()); in TEST_F() 354 EXPECT_EQ(typed_url.visit_transitions_size(), typed_url.visits_size()); in TEST_F() 378 EXPECT_EQ(100, typed_url.visits_size()); in TEST_F() 379 EXPECT_EQ(typed_url.visit_transitions_size(), typed_url.visits_size()); in TEST_F() 384 for (int i = 0; i < typed_url.visits_size(); ++i) { in TEST_F() 398 EXPECT_EQ(1, typed_url.visits_size()); in TEST_F() 399 EXPECT_EQ(typed_url.visit_transitions_size(), typed_url.visits_size()); in TEST_F()
|
D | typed_url_change_processor.cc | 278 DCHECK(typed_url.visits_size()); in ApplyChangesFromSyncModel() 285 if (!filtered_url.visits_size()) { in ApplyChangesFromSyncModel()
|
/external/chromium_org/chrome/browser/history/ |
D | typed_url_syncable_service_unittest.cc | 285 ASSERT_EQ(1, url_specifics.visits_size()); in TEST_F() 286 ASSERT_EQ(static_cast<const int>(visits.size()), url_specifics.visits_size()); in TEST_F() 331 ASSERT_EQ(2, url_specifics.visits_size()); in TEST_F() 332 ASSERT_EQ(static_cast<const int>(visits.size()), url_specifics.visits_size()); in TEST_F() 410 EXPECT_EQ(static_cast<const int>(visits.size()), url_specifics.visits_size()); in TEST_F() 415 int r = url_specifics.visits_size() - 1; in TEST_F() 416 for (int i = 0; i < url_specifics.visits_size(); ++i, --r) { in TEST_F() 562 ASSERT_EQ(kMaxTypedUrlVisits, url_specifics.visits_size()); in TEST_F() 569 int r = url_specifics.visits_size() - 1; in TEST_F() 570 for (int i = 0; i < url_specifics.visits_size(); ++i, --r) { in TEST_F()
|
D | typed_url_syncable_service.cc | 396 if (typed_url->visits_size() == 0) { in WriteToTypedUrlSpecifics() 405 CHECK_GT(typed_url->visits_size(), 0); in WriteToTypedUrlSpecifics() 406 CHECK_LE(typed_url->visits_size(), kMaxTypedUrlVisits); in WriteToTypedUrlSpecifics() 407 CHECK_EQ(typed_url->visits_size(), typed_url->visit_transitions_size()); in WriteToTypedUrlSpecifics()
|
D | visit_database.cc | 557 size_t visits_size = visits.size(); in GetVisitsSource() local 560 while (end_index < visits_size) { in GetVisitsSource() 562 end_index = end_index + batch_size < visits_size ? end_index + batch_size in GetVisitsSource() 563 : visits_size; in GetVisitsSource()
|
D | url_index_private_data.cc | 1181 visits.reserve(iter->visits_size()); in RestoreHistoryInfoMap() 1182 for (int i = 0; i < iter->visits_size(); ++i) { in RestoreHistoryInfoMap()
|
/external/chromium_org/chrome/browser/sync/ |
D | profile_sync_service_typed_url_unittest.cc | 310 DCHECK(typed_url.visits_size()); in GetTypedUrlsFromSyncDB() 311 DCHECK_EQ(typed_url.visits_size(), typed_url.visit_transitions_size()); in GetTypedUrlsFromSyncDB() 313 typed_url.visits(typed_url.visits_size() - 1))); in GetTypedUrlsFromSyncDB()
|