Enable AppContainer support for GPU process.

This CL adds the necessary support to the GPU process launcher to enable
the AppContainer sandbox as well as UMA metrics and a new entry in
chrome://flags.

Bug: 807249
Change-Id: I92d1f5ef224e09952b8615a79da639edc83692e7
Reviewed-on: https://chromium-review.googlesource.com/912868
Commit-Queue: James Forshaw <[email protected]>
Reviewed-by: Jesse Doherty <[email protected]>
Reviewed-by: Will Harris <[email protected]>
Reviewed-by: Zhenyao Mo <[email protected]>
Cr-Commit-Position: refs/heads/master@{#536690}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c437f45..9538c2e1 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3725,6 +3725,14 @@
      SINGLE_DISABLE_VALUE_TYPE(ash::switches::kAshDisableTrilinearFiltering)},
 #endif  // OS_CHROMEOS
 
+#if defined(OS_WIN)
+    {"enable-gpu-appcontainer", flag_descriptions::kEnableGpuAppcontainerName,
+     flag_descriptions::kEnableGpuAppcontainerDescription, kOsWin,
+     ENABLE_DISABLE_VALUE_TYPE(
+         service_manager::switches::kEnableGpuAppContainer,
+         service_manager::switches::kDisableGpuAppContainer)},
+#endif  // OS_WIN
+
     // NOTE: Adding a new flag requires adding a corresponding entry to enum
     // "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag
     // Histograms" in tools/metrics/histograms/README.md (run the