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

Unified Diff: chrome/browser/history/in_memory_url_index_cache.proto

Issue 15645012: Omnibox: Rebuild HQP Cache if it's old (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: correct 1 to -1. Created 7 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/history/in_memory_url_index_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/in_memory_url_index_cache.proto
diff --git a/chrome/browser/history/in_memory_url_index_cache.proto b/chrome/browser/history/in_memory_url_index_cache.proto
index b5cf41b2a2d387e5cc103302eadf3ac69c3d36bc..3a39e746bf334d738fe0a61462b28eaf59685b64 100644
--- a/chrome/browser/history/in_memory_url_index_cache.proto
+++ b/chrome/browser/history/in_memory_url_index_cache.proto
@@ -84,7 +84,12 @@ message InMemoryURLIndexCacheItem {
repeated WordStartsMapEntry word_starts_map_entry = 2;
}
- required int64 timestamp = 1;
+ // The date that the cache was last rebuilt from history. Note that
+ // this cache may include items that were visited after this date if
+ // the InMemoryURLIndex was updated on the fly. This timestamp is meant
+ // to indicate the last date the index was rebuilt from the ground truth:
+ // the history database on disk.
+ required int64 last_rebuild_timestamp = 1;
// If there is no version we'll assume version 0.
optional int32 version = 2;
required int32 history_item_count = 3;
« no previous file with comments | « no previous file | chrome/browser/history/in_memory_url_index_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698