FieldTrial: Add field trial configuration for V8ContextSnapshot

Bug: 760875, 617892, 588893
Change-Id: I0cfa4bda3c5f79ab7b29f6cba9e2b59cab464623
Reviewed-on: https://chromium-review.googlesource.com/645408
Reviewed-by: Yuki Shiino <[email protected]>
Reviewed-by: Kinuko Yasuda <[email protected]>
Reviewed-by: Steven Holte <[email protected]>
Reviewed-by: Kentaro Hara <[email protected]>
Commit-Queue: Hitoshi Yoshida <[email protected]>
Cr-Commit-Position: refs/heads/master@{#500829}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index ddad6c87..789176f 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3469,6 +3469,11 @@
      flag_descriptions::kModuleScriptsDynamicImportDescription, kOsAll,
      FEATURE_VALUE_TYPE(features::kModuleScriptsDynamicImport)},
 
+    {"enable-v8-context-snapshot", flag_descriptions::kV8ContextSnapshotName,
+     flag_descriptions::kV8ContextSnapshotDescription,
+     kOsDesktop,  // TODO(peria): Add Android support.
+     FEATURE_VALUE_TYPE(features::kV8ContextSnapshot)},
+
     // NOTE: Adding new command-line switches requires adding corresponding
     // entries to enum "LoginCustomFlags" in histograms/enums.xml. See note in
     // enums.xml and don't forget to run AboutFlagsHistogramTest unit test.