Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1204)

Side by Side Diff: chrome/browser/android/chrome_feature_list.cc

Issue 2812113004: Write last_modified date to Content Settings in the PrefProvider (Closed)
Patch Set: fix comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 28 matching lines...) Expand all
39 const base::Feature* kFeaturesExposedToJava[] = { 39 const base::Feature* kFeaturesExposedToJava[] = {
40 &autofill::kAutofillScanCardholderName, 40 &autofill::kAutofillScanCardholderName,
41 &features::kConsistentOmniboxGeolocation, 41 &features::kConsistentOmniboxGeolocation,
42 &features::kCopylessPaste, 42 &features::kCopylessPaste,
43 &features::kCredentialManagementAPI, 43 &features::kCredentialManagementAPI,
44 &features::kNativeAndroidHistoryManager, 44 &features::kNativeAndroidHistoryManager,
45 &features::kServiceWorkerPaymentApps, 45 &features::kServiceWorkerPaymentApps,
46 &features::kSimplifiedFullscreenUI, 46 &features::kSimplifiedFullscreenUI,
47 &features::kVrShell, 47 &features::kVrShell,
48 &features::kWebPayments, 48 &features::kWebPayments,
49 &features::kTabsInCbd,
49 &kAndroidPayIntegrationV1, 50 &kAndroidPayIntegrationV1,
50 &kAndroidPayIntegrationV2, 51 &kAndroidPayIntegrationV2,
51 &kAndroidPaymentApps, 52 &kAndroidPaymentApps,
52 &kAndroidPaymentAppsFilter, 53 &kAndroidPaymentAppsFilter,
53 &kCCTExternalLinkHandling, 54 &kCCTExternalLinkHandling,
54 &kCCTPostMessageAPI, 55 &kCCTPostMessageAPI,
55 &kChromeHomeFeature, 56 &kChromeHomeFeature,
56 &kContentSuggestionsSettings, 57 &kContentSuggestionsSettings,
57 &kContextualSearchSingleActions, 58 &kContextualSearchSingleActions,
58 &kContextualSearchUrlActions, 59 &kContextualSearchUrlActions,
59 &kCustomContextMenu, 60 &kCustomContextMenu,
60 &kCustomFeedbackUi, 61 &kCustomFeedbackUi,
61 &data_reduction_proxy::features::kDataReductionMainMenu, 62 &data_reduction_proxy::features::kDataReductionMainMenu,
62 &data_reduction_proxy::features::kDataReductionSiteBreakdown, 63 &data_reduction_proxy::features::kDataReductionSiteBreakdown,
63 &kFullscreenActivity, 64 &kFullscreenActivity,
64 &kImportantSitesInCBD, 65 &kImportantSitesInCBD,
65 &kImprovedA2HS, 66 &kImprovedA2HS,
66 &kNewPhotoPicker, 67 &kNewPhotoPicker,
67 &kNoCreditCardAbort, 68 &kNoCreditCardAbort,
68 &kNTPCondensedLayoutFeature, 69 &kNTPCondensedLayoutFeature,
69 &kNTPCondensedTileLayoutFeature, 70 &kNTPCondensedTileLayoutFeature,
70 &kNTPLaunchAfterInactivity, 71 &kNTPLaunchAfterInactivity,
71 &kNTPOfflinePagesFeature, 72 &kNTPOfflinePagesFeature,
72 &NTPShowGoogleGInOmniboxFeature, 73 &NTPShowGoogleGInOmniboxFeature,
73 &kPhysicalWebFeature, 74 &kPhysicalWebFeature,
74 &kPhysicalWebSharing, 75 &kPhysicalWebSharing,
75 &kSpecialLocaleFeature, 76 &kSpecialLocaleFeature,
76 &kSpecialLocaleWrapper, 77 &kSpecialLocaleWrapper,
77 &kTabsInCBD,
78 &kTabReparenting, 78 &kTabReparenting,
79 &kVideoPersistence, 79 &kVideoPersistence,
80 &kWebPaymentsModifiers, 80 &kWebPaymentsModifiers,
81 &kWebPaymentsSingleAppUiSkip, 81 &kWebPaymentsSingleAppUiSkip,
82 &kWebVRCardboardSupport, 82 &kWebVRCardboardSupport,
83 &ntp_snippets::kIncreasedVisibility, 83 &ntp_snippets::kIncreasedVisibility,
84 &ntp_snippets::kForeignSessionsSuggestionsFeature, 84 &ntp_snippets::kForeignSessionsSuggestionsFeature,
85 &ntp_snippets::kPublisherFaviconsFromNewServerFeature, 85 &ntp_snippets::kPublisherFaviconsFromNewServerFeature,
86 &offline_pages::kBackgroundLoaderForDownloadsFeature, 86 &offline_pages::kBackgroundLoaderForDownloadsFeature,
87 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. 87 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421.
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing", 181 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing",
182 base::FEATURE_DISABLED_BY_DEFAULT}; 182 base::FEATURE_DISABLED_BY_DEFAULT};
183 183
184 const base::Feature kSpecialLocaleFeature{"SpecialLocale", 184 const base::Feature kSpecialLocaleFeature{"SpecialLocale",
185 base::FEATURE_DISABLED_BY_DEFAULT}; 185 base::FEATURE_DISABLED_BY_DEFAULT};
186 186
187 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", 187 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper",
188 base::FEATURE_ENABLED_BY_DEFAULT}; 188 base::FEATURE_ENABLED_BY_DEFAULT};
189 189
190 const base::Feature kTabsInCBD{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT};
191
192 const base::Feature kTabReparenting{"TabReparenting", 190 const base::Feature kTabReparenting{"TabReparenting",
193 base::FEATURE_ENABLED_BY_DEFAULT}; 191 base::FEATURE_ENABLED_BY_DEFAULT};
194 192
195 const base::Feature kUseNewDoodleApi{"UseNewDoodleApi", 193 const base::Feature kUseNewDoodleApi{"UseNewDoodleApi",
196 base::FEATURE_DISABLED_BY_DEFAULT}; 194 base::FEATURE_DISABLED_BY_DEFAULT};
197 195
198 const base::Feature kUserMediaScreenCapturing{ 196 const base::Feature kUserMediaScreenCapturing{
199 "UserMediaScreenCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; 197 "UserMediaScreenCapturing", base::FEATURE_DISABLED_BY_DEFAULT};
200 198
201 const base::Feature kVideoPersistence{"VideoPersistence", 199 const base::Feature kVideoPersistence{"VideoPersistence",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 271 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
274 jdefault_value); 272 jdefault_value);
275 } 273 }
276 274
277 bool RegisterChromeFeatureListJni(JNIEnv* env) { 275 bool RegisterChromeFeatureListJni(JNIEnv* env) {
278 return RegisterNativesImpl(env); 276 return RegisterNativesImpl(env);
279 } 277 }
280 278
281 } // namespace android 279 } // namespace android
282 } // namespace chrome 280 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698