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 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
45 } | 45 } |
46 | 46 |
47 // A list of URLs that should be filtered from the SuggestionsProfile. | 47 // A list of URLs that should be filtered from the SuggestionsProfile. |
48 // | 48 // |
49 // Next tag: 2 | 49 // Next tag: 2 |
50 message SuggestionsBlacklist { | 50 message SuggestionsBlacklist { |
51 // URLs that make up the blacklist. | 51 // URLs that make up the blacklist. |
52 repeated string urls = 1; | 52 repeated string urls = 1; |
53 } | 53 } |
54 | 54 |
55 // ThumbnailData contains the data to represent a website thumbnail. | 55 // ImageData contains the data to represent a website image (thumbnail, |
huangs
2014/08/07 20:33:32
Note that favicon are not JPEG in general, so more
Mathieu
2014/08/07 21:03:35
Acknowledged.
| |
56 // favicon). | |
56 // | 57 // |
57 // Next tag: 3 | 58 // Next tag: 3 |
58 message ThumbnailData { | 59 message ImageData { |
59 // The URL of the website represented by this Thumbnail. | 60 // The URL of the website represented by this image. |
60 optional string url = 1; | 61 optional string url = 1; |
61 | 62 |
62 // Bitmap bytes, encoded as JPEG. | 63 // Bitmap bytes, encoded as JPEG. |
63 optional bytes data = 2; | 64 optional bytes data = 2; |
64 } | 65 } |
OLD | NEW |