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

Side by Side Diff: components/suggestions/proto/suggestions.proto

Issue 423133003: [Suggestions Service] Add support for expiring the SuggestionsStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 6 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
OLDNEW
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 24 matching lines...) Expand all
35 optional string title = 2; 35 optional string title = 2;
36 36
37 // The URL of the favicon associated with this page. 37 // The URL of the favicon associated with this page.
38 optional string favicon_url = 3; 38 optional string favicon_url = 3;
39 39
40 // The URL of the thumbnail associated with this page. 40 // The URL of the thumbnail associated with this page.
41 optional string thumbnail = 4; 41 optional string thumbnail = 4;
42 42
43 // The provider(s) responsible for this suggestion. 43 // The provider(s) responsible for this suggestion.
44 repeated ProviderId providers = 5; 44 repeated ProviderId providers = 5;
45
46 // The timestamp (usec) at which this suggestion ceases to be valid.
47 optional int64 expiry_ts = 7;
45 } 48 }
46 49
47 // A list of URLs that should be filtered from the SuggestionsProfile. 50 // A list of URLs that should be filtered from the SuggestionsProfile.
48 // 51 //
49 // Next tag: 2 52 // Next tag: 2
50 message SuggestionsBlacklist { 53 message SuggestionsBlacklist {
51 // URLs that make up the blacklist. 54 // URLs that make up the blacklist.
52 repeated string urls = 1; 55 repeated string urls = 1;
53 } 56 }
54 57
55 // ThumbnailData contains the data to represent a website thumbnail. 58 // ThumbnailData contains the data to represent a website thumbnail.
56 // 59 //
57 // Next tag: 3 60 // Next tag: 3
58 message ThumbnailData { 61 message ThumbnailData {
59 // The URL of the website represented by this Thumbnail. 62 // The URL of the website represented by this Thumbnail.
60 optional string url = 1; 63 optional string url = 1;
61 64
62 // Bitmap bytes, encoded as JPEG. 65 // Bitmap bytes, encoded as JPEG.
63 optional bytes data = 2; 66 optional bytes data = 2;
64 } 67 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698