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

Side by Side Diff: chrome/browser/history/in_memory_url_index_cache.proto

Issue 11228038: Linux: change protobuf default option to allow building (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/feedback/proto/web.proto ('k') | chrome/browser/metrics/proto/study.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // InMemoryURLIndex caching protocol buffers. 5 // InMemoryURLIndex caching protocol buffers.
6 // 6 //
7 // At certain times during browser operation, the indexes from the 7 // At certain times during browser operation, the indexes from the
8 // InMemoryURLIndex are written to a disk-based cache using the 8 // InMemoryURLIndex are written to a disk-based cache using the
9 // following protobuf description. 9 // following protobuf description.
10 10
11 syntax = "proto2"; 11 syntax = "proto2";
12 12
13 option optimize_for = LITE_RUNTIME;
14
15 package in_memory_url_index; 13 package in_memory_url_index;
16 14
17 message InMemoryURLIndexCacheItem { 15 message InMemoryURLIndexCacheItem {
18 16
19 message WordListItem { 17 message WordListItem {
20 required uint32 word_count = 1; 18 required uint32 word_count = 1;
21 repeated string word = 2; 19 repeated string word = 2;
22 } 20 }
23 21
24 message WordMapItem { 22 message WordMapItem {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 optional int32 version = 2; 81 optional int32 version = 2;
84 required int32 history_item_count = 3; 82 required int32 history_item_count = 3;
85 83
86 optional WordListItem word_list = 4; 84 optional WordListItem word_list = 4;
87 optional WordMapItem word_map = 5; 85 optional WordMapItem word_map = 5;
88 optional CharWordMapItem char_word_map = 6; 86 optional CharWordMapItem char_word_map = 6;
89 optional WordIDHistoryMapItem word_id_history_map = 7; 87 optional WordIDHistoryMapItem word_id_history_map = 7;
90 optional HistoryInfoMapItem history_info_map = 8; 88 optional HistoryInfoMapItem history_info_map = 8;
91 optional WordStartsMapItem word_starts_map = 9; 89 optional WordStartsMapItem word_starts_map = 9;
92 } 90 }
OLDNEW
« no previous file with comments | « chrome/browser/feedback/proto/web.proto ('k') | chrome/browser/metrics/proto/study.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698