Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5705)

Unified Diff: chrome/browser/about_flags.cc

Issue 1512113002: Read feature param for Physical Web experiment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index e8a93a001204bd271d77aa093a1b8008b21d834a..bd2da08534dcdb0b8287f0259e03f5c1978647d7 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -67,7 +67,9 @@
#include "ui/native_theme/native_theme_switches.h"
#include "ui/views/views_switches.h"
-#if !defined(OS_ANDROID)
+#if defined(OS_ANDROID)
+#include "chrome/browser/android/chrome_feature_list.h"
+#else
#include "ui/message_center/message_center_switches.h"
#endif
@@ -1328,7 +1330,7 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_ENABLE_PHYSICAL_WEB_NAME,
IDS_FLAGS_ENABLE_PHYSICAL_WEB_DESCRIPTION,
kOsAndroid,
- SINGLE_VALUE_TYPE(switches::kEnablePhysicalWeb)},
+ FEATURE_VALUE_TYPE(chrome::android::kPhysicalWebFeature)},
#endif
{"enable-zero-copy",
IDS_FLAGS_ZERO_COPY_NAME,

Powered by Google App Engine
This is Rietveld 408576698