OLD | NEW |
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 the favicon image specifics. | 5 // Sync protocol datatype extension for the favicon image specifics. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 option retain_unknown_fields = true; | |
11 | 10 |
12 package sync_pb; | 11 package sync_pb; |
13 | 12 |
14 message FaviconData { | 13 message FaviconData { |
15 // The image data for the favicon (PNG encoded). | 14 // The image data for the favicon (PNG encoded). |
16 optional bytes favicon = 1; | 15 optional bytes favicon = 1; |
17 // The favicon dimensions. | 16 // The favicon dimensions. |
18 optional int32 width = 2; | 17 optional int32 width = 2; |
19 optional int32 height = 3; | 18 optional int32 height = 3; |
20 } | 19 } |
(...skipping 10 matching lines...) Expand all Loading... |
31 | 30 |
32 // A normal low-resolution web favicon (max resolution 16x16). | 31 // A normal low-resolution web favicon (max resolution 16x16). |
33 optional FaviconData favicon_web = 2; | 32 optional FaviconData favicon_web = 2; |
34 // A slightly higher-resolution web favicon (max resolution 32x32). | 33 // A slightly higher-resolution web favicon (max resolution 32x32). |
35 optional FaviconData favicon_web_32 = 3; | 34 optional FaviconData favicon_web_32 = 3; |
36 // A high-resolution touch favicon (not precomposed, max resolution 64x64). | 35 // A high-resolution touch favicon (not precomposed, max resolution 64x64). |
37 optional FaviconData favicon_touch_64 = 4; | 36 optional FaviconData favicon_touch_64 = 4; |
38 // A high-resolution touch favicon (precomposed, max resolution 64x64). | 37 // A high-resolution touch favicon (precomposed, max resolution 64x64). |
39 optional FaviconData favicon_touch_precomposed_64 = 5; | 38 optional FaviconData favicon_touch_precomposed_64 = 5; |
40 } | 39 } |
OLD | NEW |