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

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

Issue 539173004: Bring up of the enhanced bookmarks cluster service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@intermediary2
Patch Set: Removing static initializers. Created 6 years, 2 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 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 message ClusterRequest {
11 // Optional list of docs we want to cluster--a subset of the user's available
12 // docs.
13 repeated string docs = 1;
14
15 // When docs is empty, used to determine which clips are clustered. If set to
16 // true, cluster all the user's clips. Otherwise (default) cluster all of the
17 // user's uncategorized clips.
18 optional bool cluster_all = 3 [default = false];
19
20 extensions 2;
21 }
22
23 message ClusterResponse {
24 message Cluster {
25 repeated string docs = 1;
26 // May be empty or unset if no reasonable title could be found.
27 optional string title = 2;
28 }
29
30 // Each of ClusterRequest.docs will exist in exactly one cluster. Some
31 // clusters may be singletons, so
32 // ClusterResponse.clusters_size() <= ClusterRequest.docs_size().
33 repeated Cluster clusters = 1;
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698