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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 // Array of features exposed through the Java ChromeFeatureList API. Entries in | 26 // Array of features exposed through the Java ChromeFeatureList API. Entries in |
27 // this array may either refer to features defined in the header of this file or | 27 // this array may either refer to features defined in the header of this file or |
28 // in other locations in the code base (e.g. chrome/, components/, etc). | 28 // in other locations in the code base (e.g. chrome/, components/, etc). |
29 const base::Feature* kFeaturesExposedToJava[] = { | 29 const base::Feature* kFeaturesExposedToJava[] = { |
30 &features::kAutoplayMutedVideos, | 30 &features::kAutoplayMutedVideos, |
31 &features::kCredentialManagementAPI, | 31 &features::kCredentialManagementAPI, |
32 &features::kSimplifiedFullscreenUI, | 32 &features::kSimplifiedFullscreenUI, |
| 33 &features::kWebPayments, |
33 &kAndroidPayIntegrationV1, | 34 &kAndroidPayIntegrationV1, |
34 &kImportantSitesInCBD, | 35 &kImportantSitesInCBD, |
35 &kNTPFakeOmniboxTextFeature, | 36 &kNTPFakeOmniboxTextFeature, |
36 &kNTPMaterialDesign, | 37 &kNTPMaterialDesign, |
37 &kNTPOfflinePagesFeature, | 38 &kNTPOfflinePagesFeature, |
38 &kNTPOfflinePageSuggestionsFeature, | 39 &kNTPOfflinePageSuggestionsFeature, |
39 &kNTPSnippetsFeature, | 40 &kNTPSnippetsFeature, |
40 &kNTPToolbarFeature, | 41 &kNTPToolbarFeature, |
41 &kPhysicalWebFeature, | 42 &kPhysicalWebFeature, |
42 &kPhysicalWebIgnoreOtherClientsFeature, | 43 &kPhysicalWebIgnoreOtherClientsFeature, |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 NOTREACHED(); | 102 NOTREACHED(); |
102 return false; | 103 return false; |
103 } | 104 } |
104 | 105 |
105 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 106 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
106 return RegisterNativesImpl(env); | 107 return RegisterNativesImpl(env); |
107 } | 108 } |
108 | 109 |
109 } // namespace android | 110 } // namespace android |
110 } // namespace chrome | 111 } // namespace chrome |
OLD | NEW |