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

Side by Side Diff: components/sync/protocol/typed_url_specifics.proto

Issue 2291053002: Cleanup: remove non-standard retain_unknown_fields from .proto files (Closed)
Patch Set: Created 4 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) 2012 The Chromium Authors. All rights reserved. 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 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 // Sync protocol datatype extension for typed urls. 5 // Sync protocol datatype extension for typed urls.
6 6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
11 11
12 option optimize_for = LITE_RUNTIME; 12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
14 13
15 package sync_pb; 14 package sync_pb;
16 15
17 // Properties of typed_url sync objects - fields correspond to similarly named 16 // Properties of typed_url sync objects - fields correspond to similarly named
18 // fields in history::URLRow. 17 // fields in history::URLRow.
19 message TypedUrlSpecifics { 18 message TypedUrlSpecifics {
20 // Actual URL that was typed. 19 // Actual URL that was typed.
21 optional string url = 1; 20 optional string url = 1;
22 // Title of the page corresponding to this URL. 21 // Title of the page corresponding to this URL.
23 optional string title = 2; 22 optional string title = 2;
24 // The number of times this URL was typed. Deprecated since we no longer sync 23 // 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 24 // this information (it's inferred by the history code from the transition
26 // type for each visit). 25 // type for each visit).
27 // optional int32 typed_count = 3; (deprecated) 26 // optional int32 typed_count = 3; (deprecated)
28 // True if the URL should be used for auto-complete. 27 // True if the URL should be used for auto-complete.
29 optional bool hidden = 4; 28 optional bool hidden = 4;
30 // The number of visits (includes page reloads). 29 // The number of visits (includes page reloads).
31 // repeated int64 visit = 5; (deprecated) 30 // repeated int64 visit = 5; (deprecated)
32 // The number of explicit navigations to this URL (excludes page reloads) - 31 // 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 32 // deprecated as we no longer sync this (history code infers this from the
34 // |visits| array). 33 // |visits| array).
35 // optional int32 visited_count = 6; (deprecated) 34 // optional int32 visited_count = 6; (deprecated)
36 // Timestamps for all visits to this URL. 35 // Timestamps for all visits to this URL.
37 repeated int64 visits = 7 [packed = true]; 36 repeated int64 visits = 7 [packed = true];
38 // The PageTransition::Type for each of the visits in the |visit| array. Both 37 // The PageTransition::Type for each of the visits in the |visit| array. Both
39 // arrays must be the same length. 38 // arrays must be the same length.
40 repeated int32 visit_transitions = 8 [packed = true]; 39 repeated int32 visit_transitions = 8 [packed = true];
41 } 40 }
OLDNEW
« no previous file with comments | « components/sync/protocol/theme_specifics.proto ('k') | components/sync/protocol/unique_position.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698