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 |
11 #include "base/android/jni_string.h" | 11 #include "base/android/jni_string.h" |
12 #include "base/feature_list.h" | 12 #include "base/feature_list.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "chrome/common/chrome_features.h" | 14 #include "chrome/common/chrome_features.h" |
15 #include "components/offline_pages/offline_page_feature.h" | 15 #include "components/offline_pages/offline_page_feature.h" |
| 16 #include "components/password_manager/core/common/password_manager_features.h" |
16 #include "content/public/common/content_features.h" | 17 #include "content/public/common/content_features.h" |
17 #include "jni/ChromeFeatureList_jni.h" | 18 #include "jni/ChromeFeatureList_jni.h" |
18 | 19 |
19 using base::android::ConvertJavaStringToUTF8; | 20 using base::android::ConvertJavaStringToUTF8; |
20 | 21 |
21 namespace chrome { | 22 namespace chrome { |
22 namespace android { | 23 namespace android { |
23 | 24 |
24 namespace { | 25 namespace { |
25 | 26 |
(...skipping 12 matching lines...) Expand all Loading... |
38 &kNTPOfflinePageSuggestionsFeature, | 39 &kNTPOfflinePageSuggestionsFeature, |
39 &kNTPSnippetsFeature, | 40 &kNTPSnippetsFeature, |
40 &kNTPToolbarFeature, | 41 &kNTPToolbarFeature, |
41 &kPhysicalWebFeature, | 42 &kPhysicalWebFeature, |
42 &kPhysicalWebIgnoreOtherClientsFeature, | 43 &kPhysicalWebIgnoreOtherClientsFeature, |
43 &kReadItLaterInMenu, | 44 &kReadItLaterInMenu, |
44 &kSystemDownloadManager, | 45 &kSystemDownloadManager, |
45 &kTabReparenting, | 46 &kTabReparenting, |
46 &offline_pages::kOfflinePagesBackgroundLoadingFeature, | 47 &offline_pages::kOfflinePagesBackgroundLoadingFeature, |
47 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. | 48 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. |
| 49 &password_manager::features::kViewPasswords, |
48 }; | 50 }; |
49 | 51 |
50 } // namespace | 52 } // namespace |
51 | 53 |
52 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 54 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
53 base::FEATURE_DISABLED_BY_DEFAULT}; | 55 base::FEATURE_DISABLED_BY_DEFAULT}; |
54 | 56 |
55 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign", | 57 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign", |
56 base::FEATURE_ENABLED_BY_DEFAULT}; | 58 base::FEATURE_ENABLED_BY_DEFAULT}; |
57 | 59 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 NOTREACHED(); | 103 NOTREACHED(); |
102 return false; | 104 return false; |
103 } | 105 } |
104 | 106 |
105 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 107 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
106 return RegisterNativesImpl(env); | 108 return RegisterNativesImpl(env); |
107 } | 109 } |
108 | 110 |
109 } // namespace android | 111 } // namespace android |
110 } // namespace chrome | 112 } // namespace chrome |
OLD | NEW |