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

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

Issue 1987333003: [NTP Snippets] Persist snippets in a LevelDB instead of prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test memleaks Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 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
7 option optimize_for = LITE_RUNTIME;
8
9 package ntp_snippets;
10
11 message SnippetSourceProto {
12 optional string url = 1;
13 optional string publisher_name = 2;
14 optional string amp_url = 3;
15 }
16
17 message SnippetProto {
18 optional string id = 1;
19 optional string title = 2;
20 optional string snippet = 3;
21 optional string salient_image_url = 4;
22 optional int64 publish_date = 5;
23 optional int64 expiry_date = 6;
24 optional float score = 7;
25 repeated SnippetSourceProto sources = 8;
26 optional bool discarded = 9;
27 }
OLDNEW
« no previous file with comments | « components/ntp_snippets/proto/BUILD.gn ('k') | ios/chrome/browser/ntp_snippets/ios_chrome_ntp_snippets_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698