/external/chromium_org/components/history/core/browser/ |
keyword_search_term.h | 22 int visits; // The visit count. member in struct:history::KeywordSearchTermVisit
|
history_types.h | 53 // The enumeration of all possible sources of visits is listed below. 57 // Different from page transition types, they describe the origins of visits. 87 // ID of this row (visit ID, used a a referrer for other visits). 112 // Compares two visits based on dates, for sorting. 120 // We pass around vectors of visits a lot 124 // used by HistoryBackend::AddVisits() to create new visits for a URL. 265 // Omit visits for which there is a more recent visit to the same URL. 269 // Omit visits for which there is a more recent visit to the same URL on 274 // Return all visits without deduping. 297 // or not. If false, then both |row| and |visits| fields are undefined 300 VisitVector visits; member in struct:history::QueryURLResult 351 unsigned int visits; member in struct:history::FilteredURL::ExtendedInfo [all...] |
/bionic/linker/tests/ |
linked_list_test.cpp | 188 int visits = 0; local 191 ++visits; 197 ASSERT_EQ(4, visits); 200 visits = 0; 204 if (++visits == 3) { 213 ASSERT_EQ(3, visits);
|
/external/chromium_org/chrome/browser/history/android/ |
visit_sql_handler.cc | 33 // a. Remove all visits. 35 // c. Insert the number of visits according the visit count in urls table. 39 // table, all existent visits will be removed. The new visits will be 46 VisitVector visits; local 47 if (!history_db_->GetVisitsForURL(id->url_id, &visits)) 49 int visit_count_in_table = visits.size(); 135 VisitVector visits; local 136 if (!history_db_->GetVisitsForURL(url_id, &visits)) 139 for (VisitVector::const_iterator v = visits.begin(); v != visits.end(); ++v) [all...] |
visit_sql_handler_unittest.cc | 66 VisitVector visits; local 67 ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); 68 EXPECT_EQ(0u, visits.size()); 84 VisitVector visits; local 85 ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); 86 EXPECT_EQ(1u, visits.size()); 87 EXPECT_EQ(row.last_visit_time(), visits[0].visit_time); 104 VisitVector visits; local 105 ASSERT_TRUE(history_db_.GetVisitsForURL(row.url_id(), &visits)); 106 EXPECT_EQ(1u, visits.size()) 123 VisitVector visits; local 145 VisitVector visits; local 181 VisitVector visits; local 215 VisitVector visits; local 244 VisitVector visits; local [all...] |
android_provider_backend_unittest.cc | 837 VisitVector visits; local 1030 VisitVector visits; local 1111 VisitVector visits; local [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
two_client_typed_urls_sync_test.cc | 41 // Now check the visits. 46 return ::testing::AssertionFailure() << "Visits are not equal"; 55 history::VisitVector visits = GetVisitsFromClient(i, urls[j].id()); local 56 if (!AreVisitsUnique(visits)) 280 // we properly merge both sets of visits together to end up with the same 281 // set of visits on both ends. 318 // visits in the verifier. 371 // Both clients should have this URL as typed and have two visits synced up.
|
typed_urls_helper.cc | 96 history::VisitVector* visits, 98 : id_(id), visits_(visits), wait_event_(event) {} 102 // Fetch the visits. 120 RemoveVisitsTask(const history::VisitVector& visits, 122 : visits_(visits), wait_event_(event) {} 126 // Fetch the visits. 203 history::VisitVector visits; local 206 new GetVisitsTask(id, &visits, &wait_event)), 209 return visits; 213 const history::VisitVector& visits) { [all...] |
/external/chromium_org/chrome/browser/history/ |
in_memory_url_index_types.h | 158 VisitInfoVector visits; member in struct:history::HistoryInfoMapValue
|
typed_url_syncable_service.cc | 22 // There's no limit on how many visits the history DB could have for a given 25 // from kMaxTypedUrlVisits, as some of the visits fetched from the DB may be 26 // RELOAD visits, which will be stripped. 43 static bool CheckVisitOrdering(const VisitVector& visits) { 45 for (VisitVector::const_iterator visit = visits.begin(); 46 visit != visits.end(); ++visit) { 47 if (visit != visits.begin()) { 48 // We allow duplicate visits here - they shouldn't really be allowed, but 201 VisitVector visits; local 204 row, visits, url->spec(), &changes) 215 VisitVector visits; local [all...] |
expire_history_backend.cc | 43 // Reads all types of visits starting from beginning of time to the given end 49 VisitVector* visits, 52 DCHECK(visits) << "visit vector has to exist in order to populate it"; 54 db->GetAllVisitsInRange(base::Time(), end_time, max_visits, visits); variable 55 // When we got the maximum number of visits we asked for, we say there could 57 return static_cast<int>(visits->size()) == max_visits; 61 // Reads only AUTO_SUBFRAME visits, within a computed range. The range is 64 // there are no more additional visits to expire by this reader. 71 VisitVector* visits, 74 DCHECK(visits) << "visit vector has to exist in order to populate it" 167 VisitVector visits; local [all...] |
scored_history_match_unittest.cc | 24 VisitInfoVector visits; local 26 visits.push_back( 30 return visits; 195 VisitInfoVector visits = CreateVisitInfoVector(8, 3, now); local 196 ScoredHistoryMatch scored(row, visits, std::string(), 204 row, visits, std::string(), ASCIIToUTF16("abc"), Make1Term("abc"), 221 VisitInfoVector visits = CreateVisitInfoVector(8, 3, now); local 222 ScoredHistoryMatch scored(row, visits, std::string(), 230 row, visits, std::string(), ASCIIToUTF16("fed com"), 247 VisitInfoVector visits = CreateVisitInfoVector(8, 3, now) local 267 VisitInfoVector visits; local [all...] |
typed_url_syncable_service_unittest.cc | 31 // Constants used to limit size of visits processed. 34 // Visits with this timestamp are treated as expired. 51 VisitVector* visits) OVERRIDE { 55 visits->insert(visits->end(), 62 void SetVisitsForUrl(URLID id, VisitVector* visits) { 68 visits->begin(), 69 visits->end()); 91 // Create a new row object and add a typed visit to the |visits| vector. 92 // Note that the real history db returns visits in reverse chronologica 271 VisitVector visits = visit_vectors.front(); local 311 VisitVector visits = visit_vectors.front(); local 363 VisitVector visits = visit_vectors.front(); local 387 VisitVector visits = visit_vectors.front(); local 454 VisitVector visits; local 538 VisitVector visits; local 590 VisitVector visits; local [all...] |
expire_history_backend_unittest.cc | 63 // Add visits with source information. 164 // The example data consists of 4 visits. The middle two visits are to the 174 // The IDs of the added URLs, and the times of the four added visits will be 225 // Four visits. 315 // There should be no visits. 316 VisitVector visits; local 317 main_db_->GetVisitsForURL(row.id(), &visits); 318 EXPECT_EQ(0U, visits.size()); 432 VisitVector visits; local 461 VisitVector visits; local 498 VisitVector visits; local 564 VisitVector visits; local 612 VisitVector visits; local 664 VisitVector visits; local 773 VisitVector visits; local 810 VisitVector visits; local 857 VisitVector visits; local [all...] |
in_memory_url_index_unittest.cc | 270 // Update the visit_time table column in the "visits" table 273 "SELECT" HISTORY_VISIT_ROW_FIELDS "FROM visits;")); 395 const VisitInfoVector& expected_visits(expected_info->second.visits); 396 const VisitInfoVector& actual_visits(actual_info->second.visits); 1004 const VisitInfoVector& visits = entry->second.visits; local 1015 const VisitInfoVector& visits = entry->second.visits; local 1026 const VisitInfoVector& visits = entry->second.visits; local [all...] |
url_index_private_data.cc | 97 // The ID of the URL to get visits for and then update. 99 // Whether fetching the recent visits for the URL succeeded. 119 // Make sure the private data is going to get as many recent visits as 315 // If something appears to have changed, update the recent visits 347 VisitInfoVector* visits = &row_pos->second.visits; local 348 visits->clear(); 351 visits->reserve(size); 353 // Copy from the VisitVector the only fields visits needs. 354 visits->push_back(std::make_pair(recent_visits[i].visit_time 1180 VisitInfoVector visits; local 1305 const VisitInfoVector& visits = hist_pos->second.visits; local [all...] |
history_backend.cc | 63 VisitDatabase (stores a list of visits for the URLs) 485 // Update the segment for this visit. KEYWORD_GENERATED visits should not 554 // Record all redirect visits with the same timestamp. We don't display 835 // As of M37, we no longer maintain an archived database, ignore old visits. 853 // Sync code manages the visits itself. 1228 VisitVector visits; local 1275 VisitVector visits; \/\/ Declare outside loop to prevent re-construction. local 1373 VisitVector visits; local 1411 VisitVector visits; local 2456 VisitVector visits; local [all...] |
history_backend_unittest.cc | 287 VisitVector visits; local 288 EXPECT_TRUE(backend_->db()->GetVisitsForURL(id, &visits)); 289 return visits[0].transition; 529 // Get the two visits for the URLs we just added. 530 VisitVector visits; local 531 backend_->db_->GetVisitsForURL(row1_id, &visits); 532 ASSERT_EQ(1U, visits.size()); 534 visits.clear(); 535 backend_->db_->GetVisitsForURL(row2_id, &visits); 536 ASSERT_EQ(1U, visits.size()) 717 VisitVector visits; local 791 VisitVector visits; local 1114 VisitVector visits; local 1144 VisitVector visits; local 1198 VisitVector visits; local 1284 VisitVector visits; local 1323 VisitVector visits; local 1363 VisitVector visits; local 1396 VisitVector visits; local 1451 VisitVector visits; local 2862 VisitVector visits; local 2866 backend_->db()->GetAllVisitsInRange(base::Time(), base::Time(), 0, &visits); local 2875 backend_->db()->GetAllVisitsInRange(base::Time(), base::Time(), 0, &visits); local 2882 backend_->db()->GetAllVisitsInRange(base::Time(), base::Time(), 0, &visits); local 2899 backend_->db()->GetAllVisitsInRange(base::Time(), base::Time(), 0, &visits); local [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
typed_url_model_associator_unittest.cc | 32 history::VisitVector* visits) { 40 visits->push_back(history::VisitRow( 43 history_url.set_visit_count(visits->size()); 154 EXPECT_EQ(specs4.visits(0), new_visits4[0].first.ToInternalValue()); 183 // First, create a history row that has two visits, with timestamps 2 and 3. 191 // Now, create a sync node with visits at timestamps 1, 2, 3, 4. 223 const int64 visits[] = { 1024, 2065, 65534, 1237684 }; local 225 for (size_t c = 0; c < arraysize(visits); ++c) { 227 0, base::Time::FromInternalValue(visits[c]), 0, 229 new_url.add_visits(visits[c]) 321 history::VisitVector visits; local 342 history::VisitVector visits; local 366 history::VisitVector visits; local 391 history::VisitVector visits; local [all...] |
typed_url_model_associator.cc | 33 // There's no limit on how many visits the history DB could have for a given 36 // from kMaxTypedUrlVisits, as some of the visits fetched from the DB may be 37 // RELOAD visits, which will be stripped. 40 static bool CheckVisitOrdering(const history::VisitVector& visits) { 42 for (history::VisitVector::const_iterator visit = visits.begin(); 43 visit != visits.end(); ++visit) { 44 if (visit != visits.begin()) { 45 // We allow duplicate visits here - they shouldn't really be allowed, but 81 history::VisitVector* visits) { 85 url->id(), kMaxVisitsToFetch, visits)) { 244 history::VisitVector& visits = visit_vectors[ix->id()]; local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 113 mark.visits = in.readInt(); 177 public int visits; field in class:BrowserBackupAgent.Bookmark
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/ |
ProviderBookmarksUriTest.java | 40 private Uri addBookmark(String url, String title, long lastVisitTime, long created, int visits, 48 values.put(BookmarkColumns.VISITS, visits); 63 final int visits = 2; local 71 values.put(BookmarkColumns.VISITS, visits); 93 index = cursor.getColumnIndex(BookmarkColumns.VISITS); 95 assertEquals(visits, cursor.getInt(index)); 109 final int visits[] = { 2, 20 }; local 115 uris[i] = addBookmark(url[i], title[i], lastUpdateTime[i], createdTime[i], visits[i] 188 final int visits[] = { 2, 20 }; local 243 final int visits[] = { 2, 20 }; local [all...] |
/external/chromium_org/chrome/browser/sync/ |
profile_sync_service_typed_url_unittest.cc | 85 // Visits with this timestamp are treated as expired. 97 history::VisitVector* visits)); 100 const std::vector<history::VisitInfo>& visits, 102 MOCK_METHOD1(RemoveVisits, bool(const history::VisitVector& visits)); 203 const history::VisitVector& visits) { 214 TypedUrlModelAssociator::WriteToSyncNode(url, visits, &node); 313 typed_url.visits(typed_url.visits_size() - 1))); 343 history::VisitVector* visits) { 353 visits->push_back(history::VisitRow( 356 history_url.set_visit_count(visits->size()) 372 history::VisitVector visits; local 397 history::VisitVector visits; local 418 history::VisitVector visits; local 445 history::VisitVector visits; local [all...] |
/external/chromium_org/components/search_engines/ |
template_url_service_unittest.cc | 46 const history::VisitVector& visits) { 50 this->visits = visits; 56 history::VisitVector visits; member in struct:__anon11432::QueryHistoryCallbackImpl [all...] |
/frameworks/base/core/java/android/provider/ |
Browser.java | 82 BookmarkColumns.VISITS, // 2 298 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, 310 * number of visits. If false, the user entered it manually. 322 values.put(History.VISITS, c.getInt(1) + 1); 332 int visits; local 335 visits = 1; 338 visits = 0; 342 values.put(History.VISITS, visits); 369 c = cr.query(History.CONTENT_URI, projection, History.VISITS + " > 0", null, null) [all...] |