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

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

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