| 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 25 matching lines...) Expand all Loading... |
| 36 &features::kWebPayments, | 36 &features::kWebPayments, |
| 37 &kAllBookmarksFeature, | 37 &kAllBookmarksFeature, |
| 38 &kDownloadsUiFeature, | 38 &kDownloadsUiFeature, |
| 39 &kAndroidPayIntegrationV1, | 39 &kAndroidPayIntegrationV1, |
| 40 &kImportantSitesInCBD, | 40 &kImportantSitesInCBD, |
| 41 &ntp_snippets::kContentSuggestionsFeature, | 41 &ntp_snippets::kContentSuggestionsFeature, |
| 42 &ntp_snippets::kSaveToOfflineFeature, | 42 &ntp_snippets::kSaveToOfflineFeature, |
| 43 &kNTPFakeOmniboxTextFeature, | 43 &kNTPFakeOmniboxTextFeature, |
| 44 &kNTPMaterialDesign, | 44 &kNTPMaterialDesign, |
| 45 &kNTPOfflinePagesFeature, | 45 &kNTPOfflinePagesFeature, |
| 46 &kNTPToolbarFeature, | |
| 47 &kPhysicalWebFeature, | 46 &kPhysicalWebFeature, |
| 48 &kPhysicalWebIgnoreOtherClientsFeature, | 47 &kPhysicalWebIgnoreOtherClientsFeature, |
| 49 &kReadItLaterInMenu, | 48 &kReadItLaterInMenu, |
| 50 &kSystemDownloadManager, | 49 &kSystemDownloadManager, |
| 51 &kTabReparenting, | 50 &kTabReparenting, |
| 52 &offline_pages::kOfflinePagesBackgroundLoadingFeature, | 51 &offline_pages::kOfflinePagesBackgroundLoadingFeature, |
| 53 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. | 52 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. |
| 54 &offline_pages::kOfflinePagesSharingFeature, | 53 &offline_pages::kOfflinePagesSharingFeature, |
| 55 &password_manager::features::kViewPasswords, | 54 &password_manager::features::kViewPasswords, |
| 56 }; | 55 }; |
| 57 | 56 |
| 58 } // namespace | 57 } // namespace |
| 59 | 58 |
| 60 const base::Feature kAllBookmarksFeature{"AllBookmarks", | 59 const base::Feature kAllBookmarksFeature{"AllBookmarks", |
| 61 base::FEATURE_ENABLED_BY_DEFAULT}; | 60 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 62 | 61 |
| 63 const base::Feature kDownloadsUiFeature{"DownloadsUi", | 62 const base::Feature kDownloadsUiFeature{"DownloadsUi", |
| 64 base::FEATURE_DISABLED_BY_DEFAULT}; | 63 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 65 | 64 |
| 66 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 65 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
| 67 base::FEATURE_DISABLED_BY_DEFAULT}; | 66 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 68 | 67 |
| 69 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign", | 68 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign", |
| 70 base::FEATURE_ENABLED_BY_DEFAULT}; | 69 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 71 | 70 |
| 72 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", | 71 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", |
| 73 base::FEATURE_DISABLED_BY_DEFAULT}; | 72 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 74 | 73 |
| 75 const base::Feature kNTPToolbarFeature{"NTPToolbar", | |
| 76 base::FEATURE_ENABLED_BY_DEFAULT}; | |
| 77 | |
| 78 const base::Feature kNTPFakeOmniboxTextFeature{ | 74 const base::Feature kNTPFakeOmniboxTextFeature{ |
| 79 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; | 75 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 80 | 76 |
| 81 const base::Feature kAndroidPayIntegrationV1{"AndroidPayIntegrationV1", | 77 const base::Feature kAndroidPayIntegrationV1{"AndroidPayIntegrationV1", |
| 82 base::FEATURE_ENABLED_BY_DEFAULT}; | 78 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 83 | 79 |
| 84 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 80 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
| 85 base::FEATURE_ENABLED_BY_DEFAULT}; | 81 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 86 | 82 |
| 87 const base::Feature kPhysicalWebIgnoreOtherClientsFeature{ | 83 const base::Feature kPhysicalWebIgnoreOtherClientsFeature{ |
| (...skipping 21 matching lines...) Expand all Loading... |
| 109 NOTREACHED(); | 105 NOTREACHED(); |
| 110 return false; | 106 return false; |
| 111 } | 107 } |
| 112 | 108 |
| 113 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 109 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 114 return RegisterNativesImpl(env); | 110 return RegisterNativesImpl(env); |
| 115 } | 111 } |
| 116 | 112 |
| 117 } // namespace android | 113 } // namespace android |
| 118 } // namespace chrome | 114 } // namespace chrome |
| OLD | NEW |