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

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

Issue 2830983005: Remove old webui History page on desktop and mobile (Closed)
Patch Set: axe more android stuff Created 3 years, 7 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 22 matching lines...) Expand all
33 namespace { 33 namespace {
34 34
35 // Array of features exposed through the Java ChromeFeatureList API. Entries in 35 // Array of features exposed through the Java ChromeFeatureList API. Entries in
36 // this array may either refer to features defined in the header of this file or 36 // this array may either refer to features defined in the header of this file or
37 // in other locations in the code base (e.g. chrome/, components/, etc). 37 // in other locations in the code base (e.g. chrome/, components/, etc).
38 const base::Feature* kFeaturesExposedToJava[] = { 38 const base::Feature* kFeaturesExposedToJava[] = {
39 &autofill::kAutofillScanCardholderName, 39 &autofill::kAutofillScanCardholderName,
40 &features::kConsistentOmniboxGeolocation, 40 &features::kConsistentOmniboxGeolocation,
41 &features::kCopylessPaste, 41 &features::kCopylessPaste,
42 &features::kCredentialManagementAPI, 42 &features::kCredentialManagementAPI,
43 &features::kNativeAndroidHistoryManager,
44 &features::kServiceWorkerPaymentApps, 43 &features::kServiceWorkerPaymentApps,
45 &features::kSimplifiedFullscreenUI, 44 &features::kSimplifiedFullscreenUI,
46 &features::kVrShell, 45 &features::kVrShell,
47 &features::kWebPayments, 46 &features::kWebPayments,
48 &kAndroidPayIntegrationV1, 47 &kAndroidPayIntegrationV1,
49 &kAndroidPayIntegrationV2, 48 &kAndroidPayIntegrationV2,
50 &kAndroidPaymentApps, 49 &kAndroidPaymentApps,
51 &kCCTExternalLinkHandling, 50 &kCCTExternalLinkHandling,
52 &kCCTPostMessageAPI, 51 &kCCTPostMessageAPI,
53 &kChromeHomeFeature, 52 &kChromeHomeFeature,
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 273 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
275 jdefault_value); 274 jdefault_value);
276 } 275 }
277 276
278 bool RegisterChromeFeatureListJni(JNIEnv* env) { 277 bool RegisterChromeFeatureListJni(JNIEnv* env) {
279 return RegisterNativesImpl(env); 278 return RegisterNativesImpl(env);
280 } 279 }
281 280
282 } // namespace android 281 } // namespace android
283 } // namespace chrome 282 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698