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

Side by Side Diff: components/enhanced_bookmarks/proto/metadata.proto

Issue 336263003: Bring up of the metadata accessors for enhanced bookmarks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing use of 'auto'. Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
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 option optimize_for = LITE_RUNTIME;
7
8 package image.collections;
9
10 message ImageData {
11 // Encrypted 64-bit image doc id, if it has been crawled,
12 // e.g. "kY7_4LKgNqDrbM:"
13 optional string doc_id = 1;
14
15 message ImageInfo {
16 // The (normalized) URL this image can be found at.
17 optional string url = 1;
18
19 // The dimensions in pixels.
20 optional int32 width = 2;
21 optional int32 height = 3;
22 }
23
24 // Information about the original collected image.
25 optional ImageInfo original_info = 2;
26
27 // Information about the server hosted thumbnail.
28 optional ImageInfo thumbnail_info = 3;
29 }
30
31 message PageData {
32 // The title of the web page.
33 optional string title = 1;
34
35 // A snippet of text from the web page, either computed by us or chosen by
36 // the user.
37 optional string snippet = 2;
38
39 // The (normalized) URL of the web page.
40 optional string url = 3;
41
42 // The /url redirect signed URL for the web page. This could be appended to
43 // "www.google.com" to create a URL redirect.
44 optional string signed_url = 5;
45
46 // The doc id of the page, if in the index. Uses the same encrypted docid
47 // format as ImageData.
48 optional string doc_id = 4;
49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698