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

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

Issue 2836443002: No rate limit for canMakePayment() on localhost and file://. (Closed)
Patch Set: Comments 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
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 2351 matching lines...) Expand 10 before | Expand all | Expand 10 after
2362 flag_descriptions::kEnableAndroidPayIntegrationV2Description, kOsAndroid, 2362 flag_descriptions::kEnableAndroidPayIntegrationV2Description, kOsAndroid,
2363 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV2)}, 2363 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV2)},
2364 {"enable-web-payments-single-app-ui-skip", 2364 {"enable-web-payments-single-app-ui-skip",
2365 flag_descriptions::kEnableWebPaymentsSingleAppUiSkipName, 2365 flag_descriptions::kEnableWebPaymentsSingleAppUiSkipName,
2366 flag_descriptions::kEnableWebPaymentsSingleAppUiSkipDescription, 2366 flag_descriptions::kEnableWebPaymentsSingleAppUiSkipDescription,
2367 kOsAndroid, 2367 kOsAndroid,
2368 FEATURE_VALUE_TYPE(chrome::android::kWebPaymentsSingleAppUiSkip)}, 2368 FEATURE_VALUE_TYPE(chrome::android::kWebPaymentsSingleAppUiSkip)},
2369 {"android-payment-apps", flag_descriptions::kAndroidPaymentAppsName, 2369 {"android-payment-apps", flag_descriptions::kAndroidPaymentAppsName,
2370 flag_descriptions::kAndroidPaymentAppsDescription, kOsAndroid, 2370 flag_descriptions::kAndroidPaymentAppsDescription, kOsAndroid,
2371 FEATURE_VALUE_TYPE(chrome::android::kAndroidPaymentApps)}, 2371 FEATURE_VALUE_TYPE(chrome::android::kAndroidPaymentApps)},
2372 {"android-payment-apps-filter",
2373 flag_descriptions::kAndroidPaymentAppsFilterTitle,
2374 flag_descriptions::kAndroidPaymentAppsFilterDescription, kOsAndroid,
2375 FEATURE_VALUE_TYPE(chrome::android::kAndroidPaymentAppsFilter)},
2376 #endif // OS_ANDROID 2372 #endif // OS_ANDROID
2377 #if defined(OS_CHROMEOS) 2373 #if defined(OS_CHROMEOS)
2378 {"disable-eol-notification", flag_descriptions::kEolNotificationName, 2374 {"disable-eol-notification", flag_descriptions::kEolNotificationName,
2379 flag_descriptions::kEolNotificationDescription, kOsCrOS, 2375 flag_descriptions::kEolNotificationDescription, kOsCrOS,
2380 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, 2376 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)},
2381 #endif // OS_CHROMEOS 2377 #endif // OS_CHROMEOS
2382 {"fill-on-account-select", flag_descriptions::kFillOnAccountSelectName, 2378 {"fill-on-account-select", flag_descriptions::kFillOnAccountSelectName,
2383 flag_descriptions::kFillOnAccountSelectDescription, kOsAll, 2379 flag_descriptions::kFillOnAccountSelectDescription, kOsAll,
2384 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, 2380 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)},
2385 {"new-audio-rendering-mixing-strategy", 2381 {"new-audio-rendering-mixing-strategy",
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
2961 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2957 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2962 2958
2963 const FeatureEntry* GetFeatureEntries(size_t* count) { 2959 const FeatureEntry* GetFeatureEntries(size_t* count) {
2964 *count = arraysize(kFeatureEntries); 2960 *count = arraysize(kFeatureEntries);
2965 return kFeatureEntries; 2961 return kFeatureEntries;
2966 } 2962 }
2967 2963
2968 } // namespace testing 2964 } // namespace testing
2969 2965
2970 } // namespace about_flags 2966 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698