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

Side by Side Diff: chrome/browser/android/chrome_feature_list.cc

Issue 2706363002: Add Finch flag for Copyless Paste (Closed)
Patch Set: rebase Created 3 years, 8 months 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/android/chrome_feature_list.h" 5 #include "chrome/browser/android/chrome_feature_list.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 21 matching lines...) Expand all
32 namespace android { 32 namespace android {
33 33
34 namespace { 34 namespace {
35 35
36 // Array of features exposed through the Java ChromeFeatureList API. Entries in 36 // Array of features exposed through the Java ChromeFeatureList API. Entries in
37 // this array may either refer to features defined in the header of this file or 37 // this array may either refer to features defined in the header of this file or
38 // in other locations in the code base (e.g. chrome/, components/, etc). 38 // in other locations in the code base (e.g. chrome/, components/, etc).
39 const base::Feature* kFeaturesExposedToJava[] = { 39 const base::Feature* kFeaturesExposedToJava[] = {
40 &autofill::kAutofillScanCardholderName, 40 &autofill::kAutofillScanCardholderName,
41 &features::kConsistentOmniboxGeolocation, 41 &features::kConsistentOmniboxGeolocation,
42 &features::kCopylessPaste,
42 &features::kCredentialManagementAPI, 43 &features::kCredentialManagementAPI,
43 &features::kNativeAndroidHistoryManager, 44 &features::kNativeAndroidHistoryManager,
44 &features::kServiceWorkerPaymentApps, 45 &features::kServiceWorkerPaymentApps,
45 &features::kSimplifiedFullscreenUI, 46 &features::kSimplifiedFullscreenUI,
46 &features::kVrShell, 47 &features::kVrShell,
47 &features::kWebPayments, 48 &features::kWebPayments,
48 &kAndroidPayIntegrationV1, 49 &kAndroidPayIntegrationV1,
49 &kAndroidPayIntegrationV2, 50 &kAndroidPayIntegrationV2,
50 &kAndroidPaymentApps, 51 &kAndroidPaymentApps,
51 &kAndroidPaymentAppsFilter, 52 &kAndroidPaymentAppsFilter,
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 264 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
264 jdefault_value); 265 jdefault_value);
265 } 266 }
266 267
267 bool RegisterChromeFeatureListJni(JNIEnv* env) { 268 bool RegisterChromeFeatureListJni(JNIEnv* env) {
268 return RegisterNativesImpl(env); 269 return RegisterNativesImpl(env);
269 } 270 }
270 271
271 } // namespace android 272 } // namespace android
272 } // namespace chrome 273 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698