Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / search / suggestions / proto / suggestions.proto
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
3 // found in the LICENSE file.
4
5 syntax = "proto2";
6
7 option optimize_for = LITE_RUNTIME;
8
9 package suggestions;
10
11 // The SuggestionsProfile is a protobuf response from the server that contains
12 // the list of suggestions to be presented to the user.
13 //
14 // Next tag: 2
15 message SuggestionsProfile {
16   repeated ChromeSuggestion suggestions = 1;
17 }
18
19 // The suggestions for this user, ordered from best to worst.
20 //
21 // Next tag: 3
22 message ChromeSuggestion {
23   // The URL of the suggestion.
24   optional string url = 1;
25
26   // Title of the suggestion.
27   optional string title = 2;
28 }