// Copyright 2012 The Chromium Authors
// 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";
import "layer.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: 7
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;
// Previous implementation of layers. Do not re-use.
reserved 5;
// A list of layers where each study can optionally be part of one, with
// clients ensuring that only one study per layer is enabled.
repeated Layer layers = 6;
}