| 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 14 matching lines...) Expand all Loading... |
| 25 namespace chrome { | 25 namespace chrome { |
| 26 namespace android { | 26 namespace android { |
| 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::kAutoplayMutedVideos, | |
| 36 &features::kConsistentOmniboxGeolocation, | 35 &features::kConsistentOmniboxGeolocation, |
| 37 &features::kCredentialManagementAPI, | 36 &features::kCredentialManagementAPI, |
| 38 &features::kSimplifiedFullscreenUI, | 37 &features::kSimplifiedFullscreenUI, |
| 39 &features::kVrShell, | 38 &features::kVrShell, |
| 40 &features::kWebPayments, | 39 &features::kWebPayments, |
| 41 &kAndroidPayIntegrationV1, | 40 &kAndroidPayIntegrationV1, |
| 42 &kCCTExternalLinkHandling, | 41 &kCCTExternalLinkHandling, |
| 43 &kChromeHomeFeature, | 42 &kChromeHomeFeature, |
| 44 &kContextualSearchSingleActions, | 43 &kContextualSearchSingleActions, |
| 45 &kDownloadsUiFeature, | 44 &kDownloadsUiFeature, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 NOTREACHED(); | 128 NOTREACHED(); |
| 130 return false; | 129 return false; |
| 131 } | 130 } |
| 132 | 131 |
| 133 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 132 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 134 return RegisterNativesImpl(env); | 133 return RegisterNativesImpl(env); |
| 135 } | 134 } |
| 136 | 135 |
| 137 } // namespace android | 136 } // namespace android |
| 138 } // namespace chrome | 137 } // namespace chrome |
| OLD | NEW |