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

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: Reorganized some code 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 8c96baaaf3a57b4c74d721844b4eb4242e9f5950..adf94ea3692ed50435ce5b2d1d5c43261cc9624a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -66,6 +66,7 @@
#include "ui/views/views_switches.h"
#if !defined(OS_ANDROID)
+#include "chrome/browser/android/chrome_feature_list.h"
Alexei Svitkine (slow) 2015/12/21 19:02:17 This is a !defined(OS_ANDROID) block. You want a n
cco3 2015/12/21 19:21:00 Done.
#include "ui/message_center/message_center_switches.h"
#endif
@@ -1325,7 +1326,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