| OLD | NEW |
| (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 } |
| OLD | NEW |