OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 | 8 |
9 package suggestions; | 9 package suggestions; |
10 | 10 |
11 // The SuggestionsProfile is a protobuf response from the server that contains | 11 // The SuggestionsProfile is a protobuf response from the server that contains |
12 // the list of suggestions to be presented to the user. | 12 // the list of suggestions to be presented to the user. |
13 // | 13 // |
14 // Next tag: 2 | 14 // Next tag: 2 |
15 message SuggestionsProfile { | 15 message SuggestionsProfile { |
16 repeated ChromeSuggestion suggestions = 1; | 16 repeated ChromeSuggestion suggestions = 1; |
17 } | 17 } |
18 | 18 |
19 // The suggestions for this user, ordered from best to worst. | 19 // The suggestions for this user, ordered from best to worst. |
20 // | 20 // |
21 // Next tag: 3 | 21 // Next tag: 3 |
22 message ChromeSuggestion { | 22 message ChromeSuggestion { |
23 // The URL of the suggestion. | 23 // The URL of the suggestion. |
24 optional string url = 1; | 24 optional string url = 1; |
25 | 25 |
26 // Title of the suggestion. | 26 // Title of the suggestion. |
27 optional string title = 2; | 27 optional string title = 2; |
28 | |
29 // The URL of the favicon associated with this page. | |
30 optional string favicon_url = 3; | |
31 | |
32 // Specification for the thumbnail to be used. | |
huangs
2014/05/22 18:08:22
Is thumbnail an URL? Please state if so, else ment
Mathieu
2014/05/22 19:46:32
Done.
| |
33 optional string thumbnail = 4; | |
28 } | 34 } |
OLD | NEW |