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