Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / variations / proto / study.proto
index e58b8f9..218fc30 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.
@@ -43,7 +43,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 +107,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 /