Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: components/history/core/browser/url_database.h

Issue 2846673006: Omnibox: Make InMemoryURLIndex respect hidden URLRows (Closed)
Patch Set: address mpearson comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/history/core/browser/url_database.h
diff --git a/components/history/core/browser/url_database.h b/components/history/core/browser/url_database.h
index 1b8a5d71ee6f870dc61f5cc36cf315ebd9cf85bc..9d2ca33f26b806623112f694cc1f633badfcef63 100644
--- a/components/history/core/browser/url_database.h
+++ b/components/history/core/browser/url_database.h
@@ -325,11 +325,11 @@ extern const int kLowQualityMatchAgeLimitInDays;
// Returns the date threshold for considering an history item as significant.
base::Time AutocompleteAgeThreshold();
-// Return true if |row| qualifies as an autocomplete candidate. If |time_cache|
+// Return true if |row| qualifies as an autocomplete candidate. If |threshold|
// is_null() then this function determines a new time threshold each time it is
// called. Since getting system time can be costly (such as for cases where
// this function will be called in a loop over many history items), you can
-// provide a non-null |time_cache| by simply initializing |time_cache| with
+// provide a non-null |threshold| by simply initializing |threshold| with
// AutocompleteAgeThreshold() (or any other desired time in the past).
bool RowQualifiesAsSignificant(const URLRow& row, const base::Time& threshold);

Powered by Google App Engine
This is Rietveld 408576698