summaryrefslogtreecommitdiff
path: root/chromium/components/variations/proto/variations_seed.proto
blob: 6b21dc2a45c138b1d8c79d2384c8b4d55f5308a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2012 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;
option java_package = "org.chromium.components.variations";

package variations;

import "study.proto";

// The VariationsSeed is a protobuf response from the server that contains the
// list of studies and a serial number to uniquely identify its contents. The
// serial number allows the client to easily determine if the list of
// experiments has changed from the previous VariationsSeed seen by the client.
//
// Next tag: 4
message VariationsSeed {
  optional string serial_number = 1;
  repeated Study study = 2;

  // Lowercase ISO 3166-1 alpha-2 country code of the client, according to IP
  // address. Deprecated.
  optional string country_code = 3 [deprecated = true];

  // A version string which identifies the version of the configuration files
  // that this seed was generated from.
  optional string version = 4;
}