Added field trial for enabling AppContainer and a chrome://flags entry.
This CL adds support for field trials for enabling the AppContainer
lockdown policy as well as exposing the setting via the chrome://flags page.

BUG=455496

Review URL: https://codereview.chromium.org/1407883005

Cr-Commit-Position: refs/heads/master@{#357620}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index bc66e454..1235fead 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2122,6 +2122,12 @@
      ENABLE_DISABLE_VALUE_TYPE(switches::kEnableWebNotificationCustomLayouts,
                                switches::kDisableWebNotificationCustomLayouts)},
 #endif  // defined(ENABLE_NOTIFICATIONS) && defined(OS_ANDROID)
+#if defined(OS_WIN)
+    {"enable-appcontainer", IDS_FLAGS_ENABLE_APPCONTAINER_NAME,
+     IDS_FLAGS_ENABLE_APPCONTAINER_DESCRIPTION, kOsWin,
+     ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppContainer,
+                               switches::kDisableAppContainer)},
+#endif  // defined(OS_WIN)
     // NOTE: Adding new command-line switches requires adding corresponding
     // entries to enum "LoginCustomFlags" in histograms.xml. See note in
     // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.