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

Side by Side Diff: components/gcm_driver/proto/gcm_channel_status.proto

Issue 530253002: Add GCMChannelStatusRequest to talk with server for all users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync 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
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 gcm_proto;
10
11 // Flags for enabling the GCM feature.
12 message GcmChannelFlags {
13 optional bool enabled = 1;
14 }
15
16 // This request allows an unauthenticated client to check the status of the
17 // experiments which do not require user authentication. The status of an
18 // experiment for a specific client can be determined based on the user agent
19 // string and/or the client id sent in the HTTPS POST request.
20 message ExperimentStatusRequest {
21 // Enumerates the experiments for which the status should be returned. An
22 // experiment name must be the same as one of the field names specified in
23 // ExperimentsSpecifics. See sync/protocol/experiments_specifics.proto.
24 repeated string experiment_name = 1;
25 }
26
27 // Response to an experiment status request.
28 message ExperimentStatusResponse {
29 // Minimal time to wait before issuing another request.
30 optional int32 poll_interval_seconds = 1 [default = 3600];
31
32 // This flag is returned if and only if the client asks for gcm_channel.
33 optional GcmChannelFlags gcm_channel = 2;
Nicolas Zea 2014/09/04 23:57:50 why is this a separate message?
jianli 2014/09/05 18:41:55 This is what I am given from the server guy. Will
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698