Home
last modified time | relevance | path

Searched refs:url_info (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/autocomplete/
Dhistory_url_provider.cc51 if (!a.url_info.typed_count() != !b.url_info.typed_count()) in CompareHistoryMatch()
52 return a.url_info.typed_count() > b.url_info.typed_count(); in CompareHistoryMatch()
60 if (a.url_info.typed_count() != b.url_info.typed_count()) in CompareHistoryMatch()
61 return a.url_info.typed_count() > b.url_info.typed_count(); in CompareHistoryMatch()
65 if (a.url_info.typed_count() == 1) { in CompareHistoryMatch()
66 const bool a_is_host_only = history::IsHostOnly(a.url_info.url()); in CompareHistoryMatch()
67 if (a_is_host_only != history::IsHostOnly(b.url_info.url())) in CompareHistoryMatch()
72 if (a.url_info.visit_count() != b.url_info.visit_count()) in CompareHistoryMatch()
73 return a.url_info.visit_count() > b.url_info.visit_count(); in CompareHistoryMatch()
76 return a.url_info.last_visit() > b.url_info.last_visit(); in CompareHistoryMatch()
[all …]
Dhistory_provider_util.cc10 : url_info(), in HistoryMatch()
16 HistoryMatch::HistoryMatch(const URLRow& url_info, in HistoryMatch() argument
20 : url_info(url_info), in HistoryMatch()
27 return url_info.url() == url; in operator ==()
Dhistory_quick_provider_unittest.cc136 history::URLRow url_info(current_url); in FillData() local
137 url_info.set_title(UTF8ToUTF16(cur.title)); in FillData()
138 url_info.set_visit_count(cur.visit_count); in FillData()
139 url_info.set_typed_count(cur.typed_count); in FillData()
140 url_info.set_last_visit(visit_time); in FillData()
141 url_info.set_hidden(false); in FillData()
142 EXPECT_TRUE(db->AddURL(url_info)); in FillData()
Dhistory_provider_util.h21 HistoryMatch(const URLRow& url_info,
28 URLRow url_info; member
Dhistory_quick_provider.cc124 const history::URLRow& info = history_match.url_info; in QuickMatchToACMatch()
/external/chromium/chrome/browser/history/
Din_memory_url_index_unittest.cc197 EXPECT_EQ(5, matches[0].url_info.id()); in TEST_F()
198 EXPECT_EQ("http://drudgereport.com/", matches[0].url_info.url().spec()); in TEST_F()
199 EXPECT_EQ(ASCIIToUTF16("DRUDGE REPORT 2010"), matches[0].url_info.title()); in TEST_F()
217 EXPECT_EQ(32, matches[0].url_info.id()); in TEST_F()
219 matches[0].url_info.url().spec()); // Note: URL gets lowercased. in TEST_F()
221 matches[0].url_info.title()); in TEST_F()
232 EXPECT_EQ(33, matches[0].url_info.id()); in TEST_F()
234 matches[0].url_info.url().spec()); // Note: URL gets lowercased. in TEST_F()
236 matches[0].url_info.title()); in TEST_F()
277 EXPECT_EQ(1, matches[0].url_info.id()); in TEST_F()
[all …]
Dhistory_backend.cc668 URLRow url_info(url); in AddPageVisit() local
669 URLID url_id = db_->GetRowForURL(url, &url_info); in AddPageVisit()
673 url_info.set_visit_count(url_info.visit_count() + 1); in AddPageVisit()
675 url_info.set_typed_count(url_info.typed_count() + typed_increment); in AddPageVisit()
676 url_info.set_last_visit(time); in AddPageVisit()
680 url_info.set_hidden(false); in AddPageVisit()
682 db_->UpdateURLRow(url_id, url_info); in AddPageVisit()
685 url_info.set_visit_count(1); in AddPageVisit()
686 url_info.set_typed_count(typed_increment); in AddPageVisit()
687 url_info.set_last_visit(time); in AddPageVisit()
[all …]
Din_memory_url_index.h62 explicit ScoredHistoryMatch(const URLRow& url_info);
Din_memory_url_index.cc62 ScoredHistoryMatch::ScoredHistoryMatch(const URLRow& url_info) in ScoredHistoryMatch() argument
63 : HistoryMatch(url_info, 0, false, false), in ScoredHistoryMatch()