Home
last modified time | relevance | path

Searched refs:typed_count (Results 1 – 25 of 32) sorted by relevance

12

/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()
392 if (!info.typed_count()) { in FixupExactSuggestion()
421 if (!match.url_info.typed_count() || in PromoteMatchForInlineAutocomplete()
422 ((match.url_info.typed_count() == 1) && in PromoteMatchForInlineAutocomplete()
524 const int min_typed_count = match.url_info.typed_count() ? 1 : 0; in PromoteOrCreateShorterSuggestion()
534 promote = match.url_info.typed_count() <= 1; in PromoteOrCreateShorterSuggestion()
Dextension_app_provider_unittest.cc50 int typed_count; in SetUp() member
66 info.set_typed_count(kExtensionApps[i].typed_count); in SetUp()
Dhistory_quick_provider_unittest.cc36 int typed_count; member
139 url_info.set_typed_count(cur.typed_count); in FillData()
145 cur.visit_count, cur.typed_count, in FillData()
Dhistory_url_provider_unittest.cc26 int typed_count; member
181 cur.visit_count, cur.typed_count, in FillData()
Dextension_app_provider.cc167 400 * (1.0 - (std::pow(static_cast<double>(2), -info.typed_count()))); in CalculateRelevance()
/external/chromium/chrome/browser/sync/glue/
Dtyped_url_model_associator_unittest.cc20 int typed_count, in MakeTypedUrlRow() argument
27 history_url.set_typed_count(typed_count); in MakeTypedUrlRow()
39 int typed_count, in MakeTypedUrlSpecifics() argument
45 typed_url.set_typed_count(typed_count); in MakeTypedUrlSpecifics()
55 (lhs.typed_count() == rhs.typed_count()) && in URLsEqual()
Dtyped_url_model_associator.cc156 new_url.set_typed_count(typed_url.typed_count()); in AssociateModels()
375 if (typed_url.typed_count() > url.typed_count()) { in MergeUrls()
376 new_url->set_typed_count(typed_url.typed_count()); in MergeUrls()
378 } else if (typed_url.typed_count() < url.typed_count()) { in MergeUrls()
379 new_url->set_typed_count(url.typed_count()); in MergeUrls()
383 new_url->set_typed_count(typed_url.typed_count()); in MergeUrls()
446 typed_url.set_typed_count(url.typed_count()); in WriteToSyncNode()
Dtyped_url_change_processor.cc157 if (!details->row.typed_count()) { in HandleURLsVisited()
243 new_url.set_typed_count(typed_url.typed_count()); in ApplyChangesFromSyncModel()
279 new_url.set_typed_count(typed_url.typed_count()); in ApplyChangesFromSyncModel()
/external/chromium/chrome/browser/history/
Dexpire_history_backend.cc342 if (dependencies->deleted_urls[i].typed_count() > 0) in BroadcastDeleteNotifications()
454 ChangedURL() : visit_count(0), typed_count(0) {} in ChangedURL()
456 int typed_count; member
478 cur.typed_count++; in ExpireURLsForVisits()
511 std::max(0, url_row.typed_count() - i->second.typed_count)); in ExpireURLsForVisits()
Dhistory_types.h98 int typed_count() const { in typed_count() function
101 void set_typed_count(int typed_count) { in set_typed_count() argument
102 typed_count_ = typed_count; in set_typed_count()
Dexpire_history_backend_unittest.cc410 EXPECT_EQ(row.typed_count() > 0, found_typed_changed_notification); in EnsureURLInfoGone()
631 EXPECT_EQ(1, url_row1.typed_count()); in TEST_F()
632 EXPECT_EQ(0, temp_row.typed_count()); in TEST_F()
690 EXPECT_EQ(1, url_row1.typed_count()); in TEST_F()
691 EXPECT_EQ(0, temp_row.typed_count()); in TEST_F()
734 EXPECT_EQ(0, new_url_row1.typed_count()); in TEST_F()
736 EXPECT_EQ(0, new_url_row2.typed_count()); in TEST_F()
Dhistory_unittest.cc396 EXPECT_EQ(0, query_url_row_.typed_count()); in TEST_F()
405 EXPECT_EQ(0, query_url_row_.typed_count()); // Never typed. in TEST_F()
538 EXPECT_EQ(1, query_url_row_.typed_count()); in TEST_F()
548 EXPECT_EQ(1, query_url_row_.typed_count()); in TEST_F()
558 EXPECT_EQ(1, query_url_row_.typed_count()); in TEST_F()
568 EXPECT_EQ(1, query_url_row_.typed_count()); in TEST_F()
Durl_database_unittest.cc29 a.typed_count() == b.typed_count() && in IsURLRowEqual()
Din_memory_url_index_unittest.cc110 int typed_count) { in MakeURLRow() argument
114 row.set_typed_count(typed_count); in MakeURLRow()
617 EXPECT_EQ(expected_row.typed_count(), actual_row.typed_count()); in TEST_F()
Din_memory_url_index_cache.proto60 required int32 typed_count = 3; field
Din_memory_url_index.cc176 new_row.set_typed_count(row.typed_count()); in IndexRow()
314 old_row.set_typed_count(row.typed_count()); in UpdateURL()
763 int typed_count_value = ScoreForValue(row.typed_count(), kTypedCountLevel); in ScoredMatchForURL()
1047 map_entry->set_typed_count(url_row.typed_count()); in SaveHistoryInfoMap()
1071 url_row.set_typed_count(iter->typed_count()); in RestoreHistoryInfoMap()
Durl_database.cc144 statement.BindInt(2, info.typed_count()); in UpdateURLRow()
182 statement.BindInt(3, info.typed_count()); in AddURLInternal()
Din_memory_history_backend.cc88 if (visited_details->row.typed_count() > 0 || in Observe()
Dhistory.cc376 int typed_count, in AddPageWithDetails() argument
392 row.set_typed_count(typed_count); in AddPageWithDetails()
/external/chromium/chrome/browser/importer/
Dprofile_import_process_messages.h82 WriteParam(m, p.typed_count());
90 int visit_count, typed_count;
97 !ReadParam(m, iter, &typed_count) ||
104 p->set_typed_count(typed_count);
119 LogParam(p.typed_count(), l);
Dsafari_importer_unittest.mm58 EXPECT_EQ(it1.typed_count(), 0);
69 EXPECT_EQ(it2.typed_count(), 0);
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_typed_url_unittest.cc231 new_url.set_typed_count(typed_url.typed_count()); in GetTypedUrlsFromSyncDB()
254 (lhs.typed_count() == rhs.typed_count()) && in URLsEqual()
261 int typed_count, in MakeTypedUrlEntry() argument
268 history_url.set_typed_count(typed_count); in MakeTypedUrlEntry()
/external/chromium/chrome/browser/sync/protocol/
Dtyped_url_specifics.proto23 optional int32 typed_count = 3; field
/external/chromium/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc245 const int typed_count; in TEST_F() member
256 info.set_typed_count(data[i].typed_count); in TEST_F()
Dbookmark_index.cc135 NodeTypedCountPair pair(*i, url.typed_count()); in ExtractBookmarkNodePairs()

12