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

Side by Side Diff: sync/protocol/experiment_status.proto

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 | « sync/protocol/entity_metadata.proto ('k') | sync/protocol/experiments_specifics.proto » ('j') | 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
7 option optimize_for = LITE_RUNTIME;
8
9 package sync_pb;
10
11 import "experiments_specifics.proto";
12
13 // This request allows an unauthenticated client to check the status of the
14 // experiments which do not require user authentication. The status of an
15 // experiment for a specific client can be determined based on the user agent
16 // string and/or the client id sent in the HTTPS POST request.
17 message ExperimentStatusRequest {
18 // Enumerates the experiments for which the status should be returned. An
19 // experiment name must be the same as one of the field names specified in
20 // ExperimentsSpecifics. See sync/protocol/experiments_specifics.proto.
21 repeated string experiment_name = 1;
22 }
23
24 // Response to an experiment status request.
25 message ExperimentStatusResponse {
26 // Minimal time to wait before issuing another request.
27 optional int32 poll_interval_seconds = 1 [default = 3600];
28
29 // The experiments that the client has asked for, with each experiment
30 // containing exactly one experiment flag. The client can inspect the
31 // embedded flag to obtain the experiment status. Note that the number of
32 // experiments should be less than or equal to the number of experiment_name
33 // sent in the request since it is possible that there is no experiment
34 // matching an experiment_name.
35 repeated ExperimentsSpecifics experiment = 2;
36 }
OLDNEW
« no previous file with comments | « sync/protocol/entity_metadata.proto ('k') | sync/protocol/experiments_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698