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

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

Issue 2145793002: Enable PaymentRequest on Android by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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') | content/child/runtime_features.cc » ('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 12 matching lines...) Expand all
23 23
24 namespace { 24 namespace {
25 25
26 // Array of features exposed through the Java ChromeFeatureList API. Entries in 26 // Array of features exposed through the Java ChromeFeatureList API. Entries in
27 // this array may either refer to features defined in the header of this file or 27 // this array may either refer to features defined in the header of this file or
28 // in other locations in the code base (e.g. chrome/, components/, etc). 28 // in other locations in the code base (e.g. chrome/, components/, etc).
29 const base::Feature* kFeaturesExposedToJava[] = { 29 const base::Feature* kFeaturesExposedToJava[] = {
30 &features::kAutoplayMutedVideos, 30 &features::kAutoplayMutedVideos,
31 &features::kCredentialManagementAPI, 31 &features::kCredentialManagementAPI,
32 &features::kSimplifiedFullscreenUI, 32 &features::kSimplifiedFullscreenUI,
33 &features::kWebPayments,
33 &kAndroidPayIntegrationV1, 34 &kAndroidPayIntegrationV1,
34 &kImportantSitesInCBD, 35 &kImportantSitesInCBD,
35 &kNTPFakeOmniboxTextFeature, 36 &kNTPFakeOmniboxTextFeature,
36 &kNTPMaterialDesign, 37 &kNTPMaterialDesign,
37 &kNTPOfflinePagesFeature, 38 &kNTPOfflinePagesFeature,
38 &kNTPOfflinePageSuggestionsFeature, 39 &kNTPOfflinePageSuggestionsFeature,
39 &kNTPSnippetsFeature, 40 &kNTPSnippetsFeature,
40 &kNTPToolbarFeature, 41 &kNTPToolbarFeature,
41 &kPhysicalWebFeature, 42 &kPhysicalWebFeature,
42 &kPhysicalWebIgnoreOtherClientsFeature, 43 &kPhysicalWebIgnoreOtherClientsFeature,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 NOTREACHED(); 102 NOTREACHED();
102 return false; 103 return false;
103 } 104 }
104 105
105 bool RegisterChromeFeatureListJni(JNIEnv* env) { 106 bool RegisterChromeFeatureListJni(JNIEnv* env) {
106 return RegisterNativesImpl(env); 107 return RegisterNativesImpl(env);
107 } 108 }
108 109
109 } // namespace android 110 } // namespace android
110 } // namespace chrome 111 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698