Create new Clank Flag for Games Hub

Bug: 1018201
Change-Id: I05b8d6aca2217b585f505ee0b18e7462edd75506
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879194
Commit-Queue: Sebastien Lalancette <[email protected]>
Reviewed-by: Chris Sharp <[email protected]>
Cr-Commit-Position: refs/heads/master@{#709575}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1285b6b..55f21a8 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -80,6 +80,7 @@
 #include "components/flags_ui/feature_entry_macros.h"
 #include "components/flags_ui/flags_storage.h"
 #include "components/flags_ui/flags_ui_switches.h"
+#include "components/games/core/games_features.h"
 #include "components/invalidation/impl/invalidation_switches.h"
 #include "components/language/core/common/language_experiments.h"
 #include "components/nacl/common/buildflags.h"
@@ -4719,6 +4720,12 @@
      flag_descriptions::kMediaInspectorLoggingDescription, kOsAll,
      FEATURE_VALUE_TYPE(media::kMediaInspectorLogging)},
 
+#if defined(OS_ANDROID)
+    {"enable-games-hub", flag_descriptions::kGamesHubName,
+     flag_descriptions::kGamesHubDescription, kOsAndroid,
+     FEATURE_VALUE_TYPE(games::features::kGamesHub)},
+#endif  // defined(OS_ANDROID)
+
     // 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