| OLD | NEW |
| 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 namespace { | 28 namespace { |
| 29 | 29 |
| 30 // Array of features exposed through the Java ChromeFeatureList API. Entries in | 30 // Array of features exposed through the Java ChromeFeatureList API. Entries in |
| 31 // this array may either refer to features defined in the header of this file or | 31 // this array may either refer to features defined in the header of this file or |
| 32 // in other locations in the code base (e.g. chrome/, components/, etc). | 32 // in other locations in the code base (e.g. chrome/, components/, etc). |
| 33 const base::Feature* kFeaturesExposedToJava[] = { | 33 const base::Feature* kFeaturesExposedToJava[] = { |
| 34 &autofill::kAutofillScanCardholderName, | 34 &autofill::kAutofillScanCardholderName, |
| 35 &features::kConsistentOmniboxGeolocation, | 35 &features::kConsistentOmniboxGeolocation, |
| 36 &features::kCredentialManagementAPI, | 36 &features::kCredentialManagementAPI, |
| 37 &features::kServiceWorkerPaymentApps, |
| 37 &features::kSimplifiedFullscreenUI, | 38 &features::kSimplifiedFullscreenUI, |
| 38 &features::kVrShell, | 39 &features::kVrShell, |
| 39 &features::kWebPayments, | 40 &features::kWebPayments, |
| 40 &kAndroidPayIntegrationV1, | 41 &kAndroidPayIntegrationV1, |
| 41 &kCCTExternalLinkHandling, | 42 &kCCTExternalLinkHandling, |
| 42 &kCCTPostMessageAPI, | 43 &kCCTPostMessageAPI, |
| 43 &kChromeHomeFeature, | 44 &kChromeHomeFeature, |
| 44 &kContextualSearchSingleActions, | 45 &kContextualSearchSingleActions, |
| 45 &kDownloadsUiFeature, | 46 &kDownloadsUiFeature, |
| 46 &kImportantSitesInCBD, | 47 &kImportantSitesInCBD, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 NOTREACHED(); | 133 NOTREACHED(); |
| 133 return false; | 134 return false; |
| 134 } | 135 } |
| 135 | 136 |
| 136 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 137 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 137 return RegisterNativesImpl(env); | 138 return RegisterNativesImpl(env); |
| 138 } | 139 } |
| 139 | 140 |
| 140 } // namespace android | 141 } // namespace android |
| 141 } // namespace chrome | 142 } // namespace chrome |
| OLD | NEW |