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

Side by Side Diff: sync/protocol/typed_url_specifics.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, 1 month 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 | « sync/protocol/theme_specifics.proto ('k') | third_party/protobuf/README.chromium » ('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) 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;
13 option retain_unknown_fields = true;
14
15 package sync_pb; 12 package sync_pb;
16 13
17 // Properties of typed_url sync objects - fields correspond to similarly named 14 // Properties of typed_url sync objects - fields correspond to similarly named
18 // fields in history::URLRow. 15 // fields in history::URLRow.
19 message TypedUrlSpecifics { 16 message TypedUrlSpecifics {
20 // Actual URL that was typed. 17 // Actual URL that was typed.
21 optional string url = 1; 18 optional string url = 1;
22 // Title of the page corresponding to this URL. 19 // Title of the page corresponding to this URL.
23 optional string title = 2; 20 optional string title = 2;
24 // The number of times this URL was typed. Deprecated since we no longer sync 21 // 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 22 // this information (it's inferred by the history code from the transition
26 // type for each visit). 23 // type for each visit).
27 // optional int32 typed_count = 3; (deprecated) 24 // optional int32 typed_count = 3; (deprecated)
28 // True if the URL should be used for auto-complete. 25 // True if the URL should be used for auto-complete.
29 optional bool hidden = 4; 26 optional bool hidden = 4;
30 // The number of visits (includes page reloads). 27 // The number of visits (includes page reloads).
31 // repeated int64 visit = 5; (deprecated) 28 // repeated int64 visit = 5; (deprecated)
32 // The number of explicit navigations to this URL (excludes page reloads) - 29 // 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 30 // deprecated as we no longer sync this (history code infers this from the
34 // |visits| array). 31 // |visits| array).
35 // optional int32 visited_count = 6; (deprecated) 32 // optional int32 visited_count = 6; (deprecated)
36 // Timestamps for all visits to this URL. 33 // Timestamps for all visits to this URL.
37 repeated int64 visits = 7 [packed=true]; 34 repeated int64 visits = 7 [packed=true];
38 // The PageTransition::Type for each of the visits in the |visit| array. Both 35 // The PageTransition::Type for each of the visits in the |visit| array. Both
39 // arrays must be the same length. 36 // arrays must be the same length.
40 repeated int32 visit_transitions = 8 [packed=true]; 37 repeated int32 visit_transitions = 8 [packed=true];
41 } 38 }
OLDNEW
« no previous file with comments | « sync/protocol/theme_specifics.proto ('k') | third_party/protobuf/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698