OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 // | |
5 // Sync protocol datatype extension for typed urls. | |
6 | |
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | |
8 // any fields in this file. | |
9 | |
10 syntax = "proto2"; | |
11 | |
12 option optimize_for = LITE_RUNTIME; | |
13 option retain_unknown_fields = true; | |
14 | |
15 package sync_pb; | |
16 | |
17 // Properties of typed_url sync objects - fields correspond to similarly named | |
18 // fields in history::URLRow. | |
19 message TypedUrlSpecifics { | |
20 // Actual URL that was typed. | |
21 optional string url = 1; | |
22 // Title of the page corresponding to this URL. | |
23 optional string title = 2; | |
24 // The number of times this URL was typed. Deprecated since we no longer sync | |
25 // this information (it's inferred by the history code from the transition | |
26 // type for each visit). | |
27 // optional int32 typed_count = 3; (deprecated) | |
28 // True if the URL should be used for auto-complete. | |
29 optional bool hidden = 4; | |
30 // The number of visits (includes page reloads). | |
31 // repeated int64 visit = 5; (deprecated) | |
32 // The number of explicit navigations to this URL (excludes page reloads) - | |
33 // deprecated as we no longer sync this (history code infers this from the | |
34 // |visits| array). | |
35 // optional int32 visited_count = 6; (deprecated) | |
36 // Timestamps for all visits to this URL. | |
37 repeated int64 visits = 7 [packed=true]; | |
38 // The PageTransition::Type for each of the visits in the |visit| array. Both | |
39 // arrays must be the same length. | |
40 repeated int32 visit_transitions = 8 [packed=true]; | |
41 } | |
OLD | NEW |