Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / components / variations / proto / study.proto
index e58b8f9..ae45d16 100644 (file)
@@ -6,7 +6,7 @@ syntax = "proto2";
 
 option optimize_for = LITE_RUNTIME;
 
-package chrome_variations;
+package variations;
 
 // This defines the Protocol Buffer representation of a Chrome Variations study
 // as sent to clients of the Variations server.
@@ -20,7 +20,8 @@ message Study {
   // The expiry date of the study in Unix time format. (Seconds since midnight
   // January 1, 1970 UTC). See: http://en.wikipedia.org/wiki/Unix_time
   //
-  // A study that has expired will be disabled, which will take precedence over
+  // A study that has expired will be disabled, and users will be assigned
+  // groups based on the default_experiment_name. This will take precedence over
   // a corresponding hardcoded field trial in the client.
   //
   // Ex: 1330893974  (corresponds to 2012-03-04 20:46:14Z)
@@ -43,7 +44,7 @@ message Study {
 
   // An experiment within the study.
   //
-  // Next tag: 9
+  // Next tag: 10
   message Experiment {
     // A named parameter value for this experiment.
     //
@@ -107,6 +108,19 @@ message Study {
       KILL_CRITICAL = 3;
     }
     optional Type type = 7 [default = NORMAL];
+
+    // A UI string to override, and the new value to use.
+    message OverrideUIString {
+      // The first 32 bits of the MD5 hash digest of the resource name to
+      // override.
+      // e.g. Hash("IDS_BOOKMARK_BAR_UNDO")
+      optional fixed32 name_hash = 1;
+
+      // The new value of the string being overridden.
+      // e.g. "Undo"
+      optional string value = 2;
+    }
+    repeated OverrideUIString override_ui_string = 9;
   }
 
   // List of experiments in this study. This list should include the default /