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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2604193002: Detect locally installed native Android payment apps. (Closed)
Patch Set: null-check Created 3 years, 11 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/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1999 matching lines...) Expand 10 before | Expand all | Expand 10 after
2010 FEATURE_VALUE_TYPE(features::kFramebustingNeedsSameOriginOrUserGesture)}, 2010 FEATURE_VALUE_TYPE(features::kFramebustingNeedsSameOriginOrUserGesture)},
2011 #if defined(OS_ANDROID) 2011 #if defined(OS_ANDROID)
2012 {"enable-android-pay-integration-v1", 2012 {"enable-android-pay-integration-v1",
2013 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME, 2013 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME,
2014 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid, 2014 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid,
2015 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, 2015 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)},
2016 {"enable-android-pay-integration-v2", 2016 {"enable-android-pay-integration-v2",
2017 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V2_NAME, 2017 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V2_NAME,
2018 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V2_DESCRIPTION, kOsAndroid, 2018 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V2_DESCRIPTION, kOsAndroid,
2019 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV2)}, 2019 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV2)},
2020 {"android-payment-apps",
2021 IDS_FLAGS_ANDROID_PAYMENT_APPS_NAME,
2022 IDS_FLAGS_ANDROID_PAYMENT_APPS_DESCRIPTION, kOsAndroid,
2023 FEATURE_VALUE_TYPE(chrome::android::kAndroidPaymentApps)},
2020 #endif // OS_ANDROID 2024 #endif // OS_ANDROID
2021 #if defined(OS_CHROMEOS) 2025 #if defined(OS_CHROMEOS)
2022 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME, 2026 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME,
2023 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS, 2027 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS,
2024 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, 2028 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)},
2025 #endif // OS_CHROMEOS 2029 #endif // OS_CHROMEOS
2026 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, 2030 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME,
2027 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, 2031 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll,
2028 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, 2032 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)},
2029 {"new-audio-rendering-mixing-strategy", 2033 {"new-audio-rendering-mixing-strategy",
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2380 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2377 2381
2378 const FeatureEntry* GetFeatureEntries(size_t* count) { 2382 const FeatureEntry* GetFeatureEntries(size_t* count) {
2379 *count = arraysize(kFeatureEntries); 2383 *count = arraysize(kFeatureEntries);
2380 return kFeatureEntries; 2384 return kFeatureEntries;
2381 } 2385 }
2382 2386
2383 } // namespace testing 2387 } // namespace testing
2384 2388
2385 } // namespace about_flags 2389 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698