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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months 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/extension_specifics.proto ('k') | sync/protocol/favicon_tracking_specifics.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 //
5 // Sync protocol datatype extension for the favicon image specifics.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10 option retain_unknown_fields = true;
11
12 package sync_pb;
13
14 message FaviconData {
15 // The image data for the favicon (PNG encoded).
16 optional bytes favicon = 1;
17 // The favicon dimensions.
18 optional int32 width = 2;
19 optional int32 height = 3;
20 }
21
22 // Image data for favicons. Multiple resolutions are supported.
23 message FaviconImageSpecifics {
24 // The url of the favicon image.
25 optional string favicon_url = 1;
26
27 // The favicons associated with this source, one per scale type.
28 // Favicons images should be stored into the field that best corresponds to
29 // their scale. If multiple favicons are appropriate, the highest resolution
30 // that doesn't violate the maximum should be stored.
31
32 // A normal low-resolution web favicon (max resolution 16x16).
33 optional FaviconData favicon_web = 2;
34 // A slightly higher-resolution web favicon (max resolution 32x32).
35 optional FaviconData favicon_web_32 = 3;
36 // A high-resolution touch favicon (not precomposed, max resolution 64x64).
37 optional FaviconData favicon_touch_64 = 4;
38 // A high-resolution touch favicon (precomposed, max resolution 64x64).
39 optional FaviconData favicon_touch_precomposed_64 = 5;
40 }
OLDNEW
« no previous file with comments | « sync/protocol/extension_specifics.proto ('k') | sync/protocol/favicon_tracking_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698