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

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

Issue 2179503002: [Merge M-53] Enable PaymentRequest on Android by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: 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 &kMediaStyleNotification, 36 &kMediaStyleNotification,
36 &kNTPFakeOmniboxTextFeature, 37 &kNTPFakeOmniboxTextFeature,
37 &kNTPMaterialDesign, 38 &kNTPMaterialDesign,
38 &kNTPOfflinePagesFeature, 39 &kNTPOfflinePagesFeature,
39 &kNTPSnippetsFeature, 40 &kNTPSnippetsFeature,
40 &kNTPToolbarFeature, 41 &kNTPToolbarFeature,
41 &kPhysicalWebFeature, 42 &kPhysicalWebFeature,
42 &kPhysicalWebIgnoreOtherClientsFeature, 43 &kPhysicalWebIgnoreOtherClientsFeature,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 NOTREACHED(); 107 NOTREACHED();
107 return false; 108 return false;
108 } 109 }
109 110
110 bool RegisterChromeFeatureListJni(JNIEnv* env) { 111 bool RegisterChromeFeatureListJni(JNIEnv* env) {
111 return RegisterNativesImpl(env); 112 return RegisterNativesImpl(env);
112 } 113 }
113 114
114 } // namespace android 115 } // namespace android
115 } // namespace chrome 116 } // 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