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

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

Issue 2576293002: Adding feature flag for Android Pay v2 Chrome integration. (Closed)
Patch Set: marking more strings as non translatable Created 4 years 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/android/chrome_feature_list.h ('k') | tools/metrics/histograms/histograms.xml » ('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 // in other locations in the code base (e.g. chrome/, components/, etc). 32 // in other locations in the code base (e.g. chrome/, components/, etc).
33 const base::Feature* kFeaturesExposedToJava[] = { 33 const base::Feature* kFeaturesExposedToJava[] = {
34 &autofill::kAutofillScanCardholderName, 34 &autofill::kAutofillScanCardholderName,
35 &features::kConsistentOmniboxGeolocation, 35 &features::kConsistentOmniboxGeolocation,
36 &features::kCredentialManagementAPI, 36 &features::kCredentialManagementAPI,
37 &features::kServiceWorkerPaymentApps, 37 &features::kServiceWorkerPaymentApps,
38 &features::kSimplifiedFullscreenUI, 38 &features::kSimplifiedFullscreenUI,
39 &features::kVrShell, 39 &features::kVrShell,
40 &features::kWebPayments, 40 &features::kWebPayments,
41 &kAndroidPayIntegrationV1, 41 &kAndroidPayIntegrationV1,
42 &kAndroidPayIntegrationV2,
42 &kCCTExternalLinkHandling, 43 &kCCTExternalLinkHandling,
43 &kCCTPostMessageAPI, 44 &kCCTPostMessageAPI,
44 &kChromeHomeFeature, 45 &kChromeHomeFeature,
45 &kContextualSearchSingleActions, 46 &kContextualSearchSingleActions,
46 &kDownloadsUiFeature, 47 &kDownloadsUiFeature,
47 &kImportantSitesInCBD, 48 &kImportantSitesInCBD,
48 &kImprovedA2HS, 49 &kImprovedA2HS,
49 &kNoCreditCardAbort, 50 &kNoCreditCardAbort,
50 &kNTPFakeOmniboxTextFeature, 51 &kNTPFakeOmniboxTextFeature,
51 &kNTPOfflinePagesFeature, 52 &kNTPOfflinePagesFeature,
(...skipping 14 matching lines...) Expand all
66 &offline_pages::kOfflinePagesSharingFeature, 67 &offline_pages::kOfflinePagesSharingFeature,
67 &password_manager::features::kViewPasswords, 68 &password_manager::features::kViewPasswords,
68 }; 69 };
69 70
70 } // namespace 71 } // namespace
71 72
72 // Alphabetical: 73 // Alphabetical:
73 const base::Feature kAndroidPayIntegrationV1{"AndroidPayIntegrationV1", 74 const base::Feature kAndroidPayIntegrationV1{"AndroidPayIntegrationV1",
74 base::FEATURE_ENABLED_BY_DEFAULT}; 75 base::FEATURE_ENABLED_BY_DEFAULT};
75 76
77 const base::Feature kAndroidPayIntegrationV2{"AndroidPayIntegrationV2",
78 base::FEATURE_DISABLED_BY_DEFAULT};
79
76 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", 80 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling",
77 base::FEATURE_ENABLED_BY_DEFAULT}; 81 base::FEATURE_ENABLED_BY_DEFAULT};
78 82
79 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", 83 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI",
80 base::FEATURE_ENABLED_BY_DEFAULT}; 84 base::FEATURE_ENABLED_BY_DEFAULT};
81 85
82 const base::Feature kChromeHomeFeature{"ChromeHome", 86 const base::Feature kChromeHomeFeature{"ChromeHome",
83 base::FEATURE_DISABLED_BY_DEFAULT}; 87 base::FEATURE_DISABLED_BY_DEFAULT};
84 88
85 const base::Feature kContextualSearchSingleActions{ 89 const base::Feature kContextualSearchSingleActions{
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 NOTREACHED(); 142 NOTREACHED();
139 return false; 143 return false;
140 } 144 }
141 145
142 bool RegisterChromeFeatureListJni(JNIEnv* env) { 146 bool RegisterChromeFeatureListJni(JNIEnv* env) {
143 return RegisterNativesImpl(env); 147 return RegisterNativesImpl(env);
144 } 148 }
145 149
146 } // namespace android 150 } // namespace android
147 } // namespace chrome 151 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_feature_list.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698