HomeSort by relevance Sort by last modified time
    Searched refs:url_id (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium/chrome/browser/history/
visitsegment_database.h 36 // The URL identifies the page that will now represent the segment. If url_id
39 URLID url_id);
47 SegmentID CreateSegment(URLID url_id, const std::string& segment_name);
70 bool DeleteSegmentForURL(URLID url_id);
visit_database.h 56 bool GetVisitsForURL(URLID url_id, VisitVector* visits);
105 VisitID GetMostRecentVisitForURL(URLID url_id,
108 // Returns the |max_results| most recent visit sessions for |url_id|.
113 bool GetMostRecentVisitsForURL(URLID url_id,
url_database_unittest.cc 133 URLID url_id = AddURL(url_info1); local
134 ASSERT_TRUE(url_id != 0);
139 ASSERT_TRUE(SetKeywordSearchTermsForURL(url_id, keyword_id, keyword));
148 ASSERT_TRUE(GetKeywordSearchTermRow(url_id, &keyword_search_term_row));
150 EXPECT_EQ(url_id, keyword_search_term_row.url_id);
161 ASSERT_FALSE(GetKeywordSearchTermRow(url_id, &keyword_search_term_row));
172 URLID url_id = AddURL(url_info1); local
173 ASSERT_TRUE(url_id != 0);
176 ASSERT_TRUE(SetKeywordSearchTermsForURL(url_id, 1, UTF8ToUTF16("visit")))
    [all...]
url_database.h 56 bool GetURLRow(URLID url_id, URLRow* info);
73 bool UpdateURLRow(URLID url_id, const URLRow& info);
191 bool SetKeywordSearchTermsForURL(URLID url_id,
197 bool GetKeywordSearchTermRow(URLID url_id, KeywordSearchTermRow* row);
visit_database_unittest.cc 26 a.url_id == b.url_id &&
76 VisitRow visit_info2(visit_info1.url_id,
89 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches));
118 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches));
131 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches));
144 modification.url_id = 2;
170 VisitRow visit_info2(visit_info1.url_id,
in_memory_history_backend.cc 175 URLID url_id; local
182 url_id = db_->AddURL(new_row);
183 if (!url_id)
186 url_id = url_row.id();
189 db_->SetKeywordSearchTermsForURL(url_id, details.keyword_id, details.term);
url_database.cc 85 bool URLDatabase::GetURLRow(URLID url_id, URLRow* info) {
95 statement.BindInt64(0, url_id);
133 bool URLDatabase::UpdateURLRow(URLID url_id,
147 statement.BindInt64(5, url_id);
209 "DELETE FROM keyword_search_terms WHERE url_id=?"));
383 "url_id INTEGER NOT NULL," // ID of the url.
398 "keyword_search_terms (url_id)");
406 bool URLDatabase::SetKeywordSearchTermsForURL(URLID url_id,
409 DCHECK(url_id && keyword_id && !term.empty());
413 "WHERE keyword_id = ? AND url_id = ?"))
    [all...]
visit_database.cc 91 visit->url_id = statement.ColumnInt64(1);
116 << "url_id = " << visit->url_id;
120 statement.BindInt64(0, visit->url_id);
129 << "url_id = " << visit->url_id;
141 << "url_id = " << visit->visit_id;
149 << "url_id = " << visit->visit_id;
220 statement.BindInt64(0, visit.url_id);
230 bool VisitDatabase::GetVisitsForURL(URLID url_id, VisitVector* visits)
    [all...]
text_database_manager_unittest.cc 76 visit_row.url_id = 1;
85 manager.AddPageData(GURL(kURL1), visit_row.url_id, visit_row.visit_id,
90 visit_row.url_id = 2;
94 manager.AddPageData(GURL(kURL2), visit_row.url_id, visit_row.visit_id,
99 visit_row.url_id = 2;
103 manager.AddPageData(GURL(kURL3), visit_row.url_id, visit_row.visit_id,
109 visit_row.url_id = 2;
113 manager.AddPageData(GURL(kURL4), visit_row.url_id, visit_row.visit_id,
118 visit_row.url_id = 2;
122 manager.AddPageData(GURL(kURL5), visit_row.url_id, visit_row.visit_id
333 URLID url_id = visit_db.AddURL(url_row); local
    [all...]
text_database_manager.h 105 void AddPageURL(const GURL& url, URLID url_id, VisitID visit_id,
115 URLID url_id,
174 PageInfo(URLID url_id, VisitID visit_id, base::Time visit_time);
178 URLID url_id() const { return url_id_; } function in class:history::TextDatabaseManager::PageInfo
visitsegment_database.cc 25 // url_id ID of the url currently used to represent this segment.
49 "url_id INTEGER NON NULL,"
63 GetDB().Execute("CREATE INDEX segments_url_id ON segments(url_id)");
96 "url_id INTEGER PRIMARY KEY,"
154 URLID url_id) {
156 "UPDATE segments SET url_id = ? WHERE id = ?"));
160 statement.BindInt64(0, url_id);
167 "SELECT url_id FROM segments WHERE id = ?"));
177 SegmentID VisitSegmentDatabase::CreateSegment(URLID url_id,
180 "INSERT INTO segments (name, url_id) VALUES (?,?)"))
    [all...]
history_backend.cc 329 URLID url_id = db_->GetRowForURL(url, NULL); local
330 if (!url_id)
334 if (!(segment_id = db_->CreateSegment(url_id, segment_name))) {
342 db_->UpdateSegmentRepresentationURL(segment_id, url_id);
669 URLID url_id = db_->GetRowForURL(url, &url_info); local
670 if (url_id) {
682 db_->UpdateURLRow(url_id, url_info);
690 url_id = db_->AddURL(url_info);
691 if (!url_id) {
695 url_info.id_ = url_id;
755 URLID url_id = url_database->GetRowForURL(i->url(), &existing_url); local
881 URLID url_id = db_->GetRowForURL(url, &url_info); local
1493 URLID url_id = db_->GetRowForURL(url, &url_row); local
1525 URLID url_id; local
1590 URLID url_id; local
    [all...]
text_database_manager.cc 48 TextDatabaseManager::PageInfo::PageInfo(URLID url_id,
51 : url_id_(url_id),
172 URLID url_id,
182 recent_changes_.Put(url, PageInfo(url_id, visit_id, time));
224 AddPageData(url, info.url_id(), info.visit_id(), info.visit_time(),
260 AddPageData(url, info.url_id(), info.visit_id(), info.visit_time(),
270 URLID url_id,
285 visit_database_->GetVisitsForURL(url_id, &visits);
550 AddPageData(i->first, i->second.url_id(), i->second.visit_id(),
expire_history_backend_unittest.cc 69 bool HasThumbnail(URLID url_id);
241 visit_row1.url_id = url_ids[0];
247 visit_row2.url_id = url_ids[1];
253 visit_row3.url_id = url_ids[1];
260 visit_row4.url_id = url_ids[2];
266 text_db_->AddPageData(url_row1.url(), visit_row1.url_id, visit_row1.visit_id,
270 text_db_->AddPageData(url_row2.url(), visit_row2.url_id, visit_row2.visit_id,
273 text_db_->AddPageData(url_row2.url(), visit_row3.url_id, visit_row3.visit_id,
279 text_db_->AddPageData(url_row3.url(), visit_row4.url_id, visit_row4.visit_id,
293 URLID url_id = main_db_->AddURL(url_row1) local
891 URLID url_id; local
    [all...]
expire_history_backend.cc 246 if (url_ids.find(visit->url_id) != url_ids.end())
374 dependencies->affected_urls.find(visits[i].url_id);
378 if (!main_db_->GetURLRow(visits[i].url_id, &row))
380 dependencies->affected_urls[visits[i].url_id] = row;
381 cur_row = &dependencies->affected_urls[visits[i].url_id];
468 ChangedURL& cur = changed_urls[visits[i].url_id];
531 dependencies->affected_urls.find(visits[i].url_id);
536 if (!main_db_->GetURLRow(visits[i].url_id, &row) ||
564 cur_visit.url_id = main_id_to_archived_id[cur_visit.url_id];
    [all...]
history_types.cc 68 url_id(0),
81 url_id(arg_url_id),
108 url_id(0) {
123 std::swap(url_id, other->url_id);
314 KeywordSearchTermRow::KeywordSearchTermRow() : keyword_id(0), url_id(0) {}
starred_url_database.cc 29 // url_id ID of the url, only valid if type == 0
78 entry->url_id = s.ColumnInt64(7);
112 sql.append("FROM starred LEFT JOIN urls ON starred.url_id = urls.id ");
188 StarID StarredURLDatabase::CreateStarredEntryRow(URLID url_id,
196 (type != history::StarredEntry::URL || url_id));
199 "(type, url_id, group_id, title, date_added, visual_order, parent_id, "
220 statement.BindInt64(1, url_id);
246 "starred.url_id = urls.id WHERE starred.id=?"));
282 entry->url_id = this->AddURL(url_row);
284 entry->url_id = url_row.id(); // The caller doesn't have to set this
    [all...]
starred_url_database.h 91 StarID CreateStarredEntryRow(URLID url_id,
starred_url_database_unittest.cc 42 EXPECT_EQ(entry.url_id, db_value.url_id);
277 DeleteURLRow(entry.url_id);
history_types.h 201 URLID url_id; member in class:history::VisitRow
324 URLID url_id; member in struct:history::StarredEntry
530 URLID url_id; member in struct:history::KeywordSearchTermRow
expire_history_backend.h 123 void DeleteTextIndexForURL(const GURL& url, URLID url_id, bool update_visits);
history_backend_unittest.cc 462 URLID url_id = backend_->db()->GetRowForURL(url, &row); local
463 ASSERT_NE(0, url_id);
474 EXPECT_TRUE(backend_->db()->GetVisitsForURL(url_id, &visits));
490 EXPECT_TRUE(backend_->db()->GetVisitsForURL(url_id, &visits));
    [all...]
  /external/chromium/net/url_request/
url_request_throttler_manager.cc 25 std::string url_id = GetIdFromUrl(url); local
31 scoped_refptr<URLRequestThrottlerEntry>& entry = url_entries_[url_id];
67 std::string url_id = GetIdFromUrl(url); local
72 url_entries_[url_id] = entry;
77 std::string url_id = GetIdFromUrl(url); local
78 url_entries_.erase(url_id);
  /external/chromium/chrome/browser/autocomplete/
autocomplete_result_unittest.cc 16 // 'http://' + |url_id|.
17 int url_id; member in struct:AutocompleteResultTest::TestData
57 match->fill_into_edit = base::IntToString16(data.url_id);
58 std::string url_id(1, data.url_id + 'a');
59 match->destination_url = GURL("http://" + url_id);
  /external/chromium/chrome/browser/extensions/
extension_history_api.cc 48 value->SetString(keys::kIdKey, base::Int64ToString(row.url_id));

Completed in 112 milliseconds

1 2