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

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

Issue 9655003: Gather word-start Information to Aid in Scoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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_types.h » ('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
===================================================================
--- chrome/browser/history/in_memory_url_index_cache.proto (revision 125621)
+++ chrome/browser/history/in_memory_url_index_cache.proto (working copy)
@@ -67,14 +67,26 @@
repeated HistoryInfoMapEntry history_info_map_entry = 2;
}
- // The timestamp of the cache, used to validate against an
- // accompanying transaction journal.
+ message WordStartsMapItem {
+ message WordStartsMapEntry {
+ required int64 history_id = 1;
+ repeated int32 url_word_starts = 2 [packed=true];
+ repeated int32 title_word_starts = 3 [packed=true];
+ }
+
+ required uint32 item_count = 1;
+ repeated WordStartsMapEntry word_starts_map_entry = 2;
+ }
+
required int64 timestamp = 1;
- required int32 history_item_count = 2;
+ // If there is no version we'll assume version 0.
+ optional int32 version = 2;
+ required int32 history_item_count = 3;
- optional WordListItem word_list = 3;
- optional WordMapItem word_map = 4;
- optional CharWordMapItem char_word_map = 5;
- optional WordIDHistoryMapItem word_id_history_map = 6;
- optional HistoryInfoMapItem history_info_map = 7;
+ optional WordListItem word_list = 4;
+ optional WordMapItem word_map = 5;
+ optional CharWordMapItem char_word_map = 6;
+ optional WordIDHistoryMapItem word_id_history_map = 7;
+ optional HistoryInfoMapItem history_info_map = 8;
+ optional WordStartsMapItem word_starts_map = 9;
}
« no previous file with comments | « no previous file | chrome/browser/history/in_memory_url_index_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698