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

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

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
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
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 required uint32 item_count = 1; 52 required uint32 item_count = 1;
53 repeated WordIDHistoryMapEntry word_id_history_map_entry = 2; 53 repeated WordIDHistoryMapEntry word_id_history_map_entry = 2;
54 } 54 }
55 55
56 message HistoryInfoMapItem { 56 message HistoryInfoMapItem {
57 message HistoryInfoMapEntry { 57 message HistoryInfoMapEntry {
58 message VisitInfo { 58 message VisitInfo {
59 required int64 visit_time = 1; 59 required int64 visit_time = 1;
60 // Corresponds to content::PageTransition. 60 // Corresponds to ui::PageTransition.
61 required uint64 transition_type = 2; 61 required uint64 transition_type = 2;
62 } 62 }
63 required int64 history_id = 1; 63 required int64 history_id = 1;
64 required int32 visit_count = 2; 64 required int32 visit_count = 2;
65 required int32 typed_count = 3; 65 required int32 typed_count = 3;
66 required int64 last_visit = 4; 66 required int64 last_visit = 4;
67 required string url = 5; 67 required string url = 5;
68 optional string title = 6; 68 optional string title = 6;
69 repeated VisitInfo visits = 7; 69 repeated VisitInfo visits = 7;
70 } 70 }
(...skipping 23 matching lines...) Expand all
94 optional int32 version = 2; 94 optional int32 version = 2;
95 required int32 history_item_count = 3; 95 required int32 history_item_count = 3;
96 96
97 optional WordListItem word_list = 4; 97 optional WordListItem word_list = 4;
98 optional WordMapItem word_map = 5; 98 optional WordMapItem word_map = 5;
99 optional CharWordMapItem char_word_map = 6; 99 optional CharWordMapItem char_word_map = 6;
100 optional WordIDHistoryMapItem word_id_history_map = 7; 100 optional WordIDHistoryMapItem word_id_history_map = 7;
101 optional HistoryInfoMapItem history_info_map = 8; 101 optional HistoryInfoMapItem history_info_map = 8;
102 optional WordStartsMapItem word_starts_map = 9; 102 optional WordStartsMapItem word_starts_map = 9;
103 } 103 }
OLDNEW
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/history/scored_history_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698