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

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

Issue 2167063003: Rename discard to dismiss for NTP snippets and content suggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bridgeumbiegen
Patch Set: Fix unit test Created 4 years, 5 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 | « components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 ntp_snippets; 9 package ntp_snippets;
10 10
11 message SnippetSourceProto { 11 message SnippetSourceProto {
12 optional string url = 1; 12 optional string url = 1;
13 optional string publisher_name = 2; 13 optional string publisher_name = 2;
14 optional string amp_url = 3; 14 optional string amp_url = 3;
15 } 15 }
16 16
17 message SnippetProto { 17 message SnippetProto {
18 optional string id = 1; 18 optional string id = 1;
19 optional string title = 2; 19 optional string title = 2;
20 optional string snippet = 3; 20 optional string snippet = 3;
21 optional string salient_image_url = 4; 21 optional string salient_image_url = 4;
22 optional int64 publish_date = 5; 22 optional int64 publish_date = 5;
23 optional int64 expiry_date = 6; 23 optional int64 expiry_date = 6;
24 optional float score = 7; 24 optional float score = 7;
25 repeated SnippetSourceProto sources = 8; 25 repeated SnippetSourceProto sources = 8;
26 optional bool discarded = 9; 26 optional bool dismissed = 9;
27 } 27 }
28 28
29 message SnippetImageProto { 29 message SnippetImageProto {
30 optional bytes data = 1; 30 optional bytes data = 1;
31 } 31 }
OLDNEW
« no previous file with comments | « components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698