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

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

Issue 538903003: Bring up of the server side full text search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 3 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/enhanced_bookmarks/proto/BUILD.gn ('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
(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 // Contains the result of a full text search.
11 message CorpusSearchResult {
12 // Encodes the status of the response.
13 enum Status {
14 UNKNOWN = 0;
15 OK = 1;
16 FAILED_RPC = 2;
17 NO_VALID_BACKEND = 3;
18 INVALID_INPUT = 4;
19 }
20 optional Status status = 1;
21
22 // For each results returns the clip id, the title and a snippet highlighting
23 // the context of the match on the search term.
24 message ClipResult {
25 optional string clip_id = 1;
26 optional string title = 2;
27 optional string snippet = 3;
28 }
29 repeated ClipResult results = 2;
30 }
OLDNEW
« no previous file with comments | « components/enhanced_bookmarks/proto/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698