Index: components/enhanced_bookmarks/proto/search.proto |
diff --git a/components/enhanced_bookmarks/proto/search.proto b/components/enhanced_bookmarks/proto/search.proto |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f5c9e0216e8fdeda1477ffdc4316b566070a386a |
--- /dev/null |
+++ b/components/enhanced_bookmarks/proto/search.proto |
@@ -0,0 +1,26 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+// |
+syntax = "proto2"; |
+option optimize_for = LITE_RUNTIME; |
Yaron
2014/09/05 04:37:52
I suspect this should be referenced in
noyau (Ping after 24h)
2014/09/08 09:46:49
Done.
|
+ |
+package image.collections; |
+ |
+message CorpusSearchResult { |
Yaron
2014/09/05 04:37:52
Should have some brief comments.
noyau (Ping after 24h)
2014/09/08 09:46:49
Done.
|
+ enum Status { |
+ UNKNOWN = 0; |
+ OK = 1; |
+ FAILED_RPC = 2; |
+ NO_VALID_BACKEND = 3; |
+ INVALID_INPUT = 4; |
+ } |
+ optional Status status = 1; |
+ |
+ message ClipResult { |
+ optional string clip_id = 1; |
+ optional string title = 2; |
+ optional string snippet = 3; |
+ } |
+ repeated ClipResult results = 2; |
+} |