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

  /external/chromium/chrome/browser/history/
visit_database.h 18 // A visit database is one which stores visits for URLs, that is, times and
30 // Deletes the visit table. Used for rapidly clearing all visits. In this
53 // Fills in the given vector with all of the visits for the given page ID,
56 bool GetVisitsForURL(URLID url_id, VisitVector* visits);
58 // Fills all visits in the time range [begin, end) to the given vector. Either
68 int max_results, VisitVector* visits);
70 // Fills all visits with specified transition in the time range [begin, end)
83 VisitVector* visits);
85 // Fills all visits in the given time range into the given vector that should
90 // Up to |max_count| visits will be returned. If there are more visits tha
    [all...]
expire_history_backend.cc 33 // Reads all types of visits starting from beginning of time to the given end
38 VisitVector* visits, int max_visits) const {
40 DCHECK(visits) << "visit vector has to exist in order to populate it";
42 db->GetAllVisitsInRange(Time(), end_time, max_visits, visits); local
43 // When we got the maximum number of visits we asked for, we say there could
45 return static_cast<int>(visits->size()) == max_visits;
49 // Reads only AUTO_SUBFRAME visits, within a computed range. The range is
52 // there are no more additional visits to expire by this reader.
58 VisitVector* visits, int max_visits) const {
60 DCHECK(visits) << "visit vector has to exist in order to populate it"
235 VisitVector visits; local
    [all...]
visit_database.cc 32 if (!GetDB().DoesTableExist("visits")) {
33 if (!GetDB().Execute("CREATE TABLE visits("
43 } else if (!GetDB().DoesColumnExist("visits", "is_indexed")) {
50 if (!GetDB().Execute("ALTER TABLE visits ADD COLUMN is_indexed BOOLEAN"))
54 // Visit source table contains the source information for all the visits. To
55 // save space, we do not record those user browsed visits which would be the
57 // Due to the tight relationship between visit_source and visits table, they
65 // Index over url so we can quickly find visits for a page. This will just
67 GetDB().Execute("CREATE INDEX visits_url_index ON visits (url)");
69 // Create an index over from visits so that we can efficiently fin
    [all...]
expire_history_backend.h 45 // Encapsulates visit expiration criteria and type of visits to expire.
49 // Populates |visits| from |db|, using provided |end_time| and |max_visits|
52 VisitVector* visits, int max_visits) const = 0;
68 // (visits are removed though).
86 // Removes all visits to restrict_urls (or all URLs if empty) in the given
91 // Archives all visits before and including the given time, updating the URLs
115 // string/ID pair. If |update_visits| is set, the visits that reference the
118 // knows that the visits will be deleted after the call.
125 // Deletes the visit-related stuff for all the visits in the given list, and
129 // Deleted information is the visits themselves and the full-text inde
    [all...]
expire_history_backend_unittest.cc 64 // Add visits with source information.
179 // The example data consists of 4 visits. The middle two visits are to the
189 // The IDs of the added URLs, and the times of the four added visits will be
239 // Four visits.
368 // There should be no visits.
369 VisitVector visits; local
370 main_db_->GetVisitsForURL(row.id(), &visits);
371 EXPECT_EQ(0U, visits.size());
468 VisitVector visits; local
532 VisitVector visits; local
572 VisitVector visits; local
602 VisitVector visits; local
660 VisitVector visits; local
814 VisitVector visits; local
867 VisitVector visits; local
    [all...]
history_backend_unittest.cc 124 VisitVector visits; local
125 EXPECT_TRUE(backend_->db()->GetVisitsForURL(id, &visits));
126 return visits[0].transition;
253 // Get the two visits for the URLs we just added.
254 VisitVector visits; local
255 backend_->db_->GetVisitsForURL(row1_id, &visits);
256 ASSERT_EQ(1U, visits.size());
257 VisitID visit1_id = visits[0].visit_id;
259 visits.clear();
260 backend_->db_->GetVisitsForURL(row2_id, &visits);
397 VisitVector visits; local
473 VisitVector visits; local
480 &visits); local
602 VisitVector visits; local
629 VisitVector visits; local
684 VisitVector visits; local
717 VisitVector visits; local
757 VisitVector visits; local
    [all...]
text_database_manager.cc 284 VisitVector visits; local
285 visit_database_->GetVisitsForURL(url_id, &visits);
286 size_t our_visit_row_index = visits.size();
287 for (size_t i = 0; i < visits.size(); i++) {
288 // While we're going trough all the visits, also find our row so we can
290 if (visits[i].visit_id == visit_id) {
292 } else if (visits[i].is_indexed) {
293 visits[i].is_indexed = false;
294 visit_database_->UpdateVisitRow(visits[i]);
295 DeletePageData(visits[i].visit_time, url, NULL)
    [all...]
history_backend.cc 46 VisitDatabase (stores a list of visits for the URLs)
52 VisitDatabase (stores a list of visits for the URLs)
411 // Update the segment for this visit. KEYWORD_GENERATED visits should not
471 // Record all redirect visits with the same timestamp. We don't display
988 VisitVector* visits = &request->value.b; local
1195 VisitVector visits; local
2033 VisitVector visits; local
    [all...]
history_backend.h 277 virtual bool GetVisitsForURL(URLID id, VisitVector* visits);
281 // While adding visits in batch, the source needs to be provided.
283 const std::vector<base::Time>& visits,
286 virtual bool RemoveVisits(const VisitVector& visits);
304 // Notification that a URL is no longer bookmarked. If there are no visits
  /external/chromium/chrome/browser/sync/glue/
typed_url_model_associator.cc 43 // Get all the visits.
49 LOG(ERROR) << "Could not get the url's visits.";
74 history::VisitVector& visits = visit_vectors[ix->id()]; local
75 DCHECK(visits.size() == static_cast<size_t>(ix->visit_count()));
76 if (visits.size() != static_cast<size_t>(ix->visit_count())) {
90 int difference = MergeUrls(typed_url, *ix, &visits, &new_url,
98 WriteToSyncNode(new_url, visits, &write_node);
124 WriteToSyncNode(*ix, visits, &node);
147 std::vector<base::Time>& visits = new_visits.back().second; local
154 // incremented as visits are added
    [all...]
typed_url_change_processor.cc 67 // Get all the visits.
75 "Could not get the url's visits.");
96 history::VisitVector& visits = visit_vectors[url->id()]; local
98 DCHECK(!visits.empty());
100 DCHECK(static_cast<size_t>(url->visit_count()) == visits.size());
101 if (static_cast<size_t>(url->visit_count()) != visits.size()) {
109 model_associator_->WriteToSyncNode(*url, visits, &update_node);
120 model_associator_->WriteToSyncNode(*url, visits, &create_node);
161 history::VisitVector visits; local
162 if (!history_backend_->GetVisitsForURL(details->row.id(), &visits) ||
269 history::VisitVector visits; local
    [all...]
typed_url_model_associator_unittest.cc 23 history::VisitVector* visits) {
31 visits->push_back(history::VisitRow(
33 history_url.set_visit_count(visits->size());
146 const int64 visits[] = { 1024, 2065, 65534, 1237684 }; local
148 for (size_t c = 0; c < arraysize(visits); ++c) {
150 0, base::Time::FromInternalValue(visits[c]), 0, 0, 0));
151 new_url.add_visit(visits[c]);
typed_url_model_associator.h 117 history::VisitVector* visits,
121 const history::VisitVector& visits,
  /external/chromium/chrome/browser/sync/
profile_sync_service_typed_url_unittest.cc 80 history::VisitVector* visits));
83 const std::vector<base::Time>& visits,
85 MOCK_METHOD1(RemoveVisits, bool(const history::VisitVector& visits));
201 const history::VisitVector& visits) {
211 TypedUrlModelAssociator::WriteToSyncNode(url, visits, &node);
264 history::VisitVector* visits) {
272 visits->push_back(history::VisitRow(
274 history_url.set_visit_count(visits->size());
300 history::VisitVector visits; local
301 visits.push_back(history::VisitRow
325 history::VisitVector visits; local
    [all...]
  /external/chromium/chrome/browser/
custom_home_pages_table_model.h 69 history::VisitVector* visits);
custom_home_pages_table_model.cc 175 history::VisitVector* visits) {
  /external/chromium/chrome/browser/extensions/
extension_history_api.h 107 history::VisitVector* visits);
extension_history_api.cc 246 history::VisitVector* visits) {
248 if (visits && !visits->empty()) {
249 for (history::VisitVector::iterator iterator = visits->begin();
250 iterator != visits->end();
  /frameworks/base/core/java/android/provider/
Browser.java 81 BookmarkColumns.VISITS, // 2
297 return cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS },
309 * number of visits. If false, the user entered it manually.
321 values.put(History.VISITS, c.getInt(1) + 1);
331 int visits; local
334 visits = 1;
337 visits = 0;
341 values.put(History.VISITS, visits);
368 c = cr.query(History.CONTENT_URI, projection, History.VISITS + " > 0", null, null)
    [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/chrome/browser/search_engines/
template_url_model_unittest.cc 884 history::VisitVector visits; member in struct:QueryHistoryCallbackImpl
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/api/history/showHistory/
typedUrls.js 49 // For each history item, get details on all visits.
  /prebuilts/tools/common/lombok-ast/
lombok-ast-0.2.jar 

Completed in 511 milliseconds