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

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

Issue 2844453002: Update CM API IDL to use SecureContext (Closed)
Patch Set: Rebase 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21 matching lines...) Expand all
32 32
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,
43 &features::kNativeAndroidHistoryManager, 42 &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 &kCCTBackgroundTab, 50 &kCCTBackgroundTab,
52 &kCCTExternalLinkHandling, 51 &kCCTExternalLinkHandling,
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 277 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
279 jdefault_value); 278 jdefault_value);
280 } 279 }
281 280
282 bool RegisterChromeFeatureListJni(JNIEnv* env) { 281 bool RegisterChromeFeatureListJni(JNIEnv* env) {
283 return RegisterNativesImpl(env); 282 return RegisterNativesImpl(env);
284 } 283 }
285 284
286 } // namespace android 285 } // namespace android
287 } // namespace chrome 286 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698