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

Unified Diff: chrome/browser/android/chrome_feature_list.cc

Issue 1512113002: Read feature param for Physical Web experiment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Used new feature API 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/android/chrome_feature_list.cc
diff --git a/chrome/browser/android/chrome_feature_list.cc b/chrome/browser/android/chrome_feature_list.cc
index 35a046c636627172fea258c1daa4331bdfa42376..4cf756ed74bcf482f6037dbf25225db0ca5475ad 100644
--- a/chrome/browser/android/chrome_feature_list.cc
+++ b/chrome/browser/android/chrome_feature_list.cc
@@ -7,7 +7,6 @@
#include <string>
#include "base/android/jni_string.h"
-#include "base/feature_list.h"
#include "jni/ChromeFeatureList_jni.h"
using base::android::ConvertJavaStringToUTF8;
@@ -17,10 +16,6 @@ namespace android {
namespace {
-const base::Feature kPhysicalWebFeature {
- "PhysicalWeb", base::FEATURE_DISABLED_BY_DEFAULT
-};
-
// Array of features exposed through the Java ChromeFeatureList API. Entries in
// this array may either refer to features defined in this file (above) or in
// other locations in the code base (e.g. chrome/, components/, etc).
@@ -47,5 +42,9 @@ bool RegisterChromeFeatureListJni(JNIEnv* env) {
return RegisterNativesImpl(env);
}
+const base::Feature kPhysicalWebFeature {
mmocny 2015/12/21 15:45:55 I don't expect its a good idea to use static initi
Alexei Svitkine (slow) 2015/12/21 15:50:50 It's a POD type and this is the correct way to ini
+ "PhysicalWeb", base::FEATURE_DISABLED_BY_DEFAULT
+};
Alexei Svitkine (slow) 2015/12/21 15:48:18 Nit: I'd put this after line 27.
cco3 2015/12/21 18:10:11 Done.
+
} // namespace android
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698