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

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

Issue 898553002: Add flag to enable/disable affiliaton based matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work on terminology. Created 5 years, 10 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 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 }, 1031 },
1032 { 1032 {
1033 "enable-password-save-in-page-navigation", 1033 "enable-password-save-in-page-navigation",
1034 IDS_FLAGS_ENABLE_SAVE_PASSOWRD_ON_IN_PAGE_NAVIGATION_NAME, 1034 IDS_FLAGS_ENABLE_SAVE_PASSOWRD_ON_IN_PAGE_NAVIGATION_NAME,
1035 IDS_FLAGS_ENABLE_SAVE_PASSOWRD_ON_IN_PAGE_NAVIGATION_DESCRIPTION, 1035 IDS_FLAGS_ENABLE_SAVE_PASSOWRD_ON_IN_PAGE_NAVIGATION_DESCRIPTION,
1036 kOsAll, 1036 kOsAll,
1037 SINGLE_VALUE_TYPE( 1037 SINGLE_VALUE_TYPE(
1038 autofill::switches::kEnablePasswordSaveOnInPageNavigation) 1038 autofill::switches::kEnablePasswordSaveOnInPageNavigation)
1039 }, 1039 },
1040 { 1040 {
1041 "enable-affiliation-based-matching",
1042 IDS_FLAGS_ENABLE_AFFILIATION_BASED_MATCHING_NAME,
1043 IDS_FLAGS_ENABLE_AFFILIATION_BASED_MATCHING_DESCRIPTION,
1044 kOsWin | kOsLinux | kOsCrOS | kOsMac | kOsAndroid,
1045 ENABLE_DISABLE_VALUE_TYPE(
1046 password_manager::switches::kEnableAffiliationBasedMatching,
1047 password_manager::switches::kDisableAffiliationBasedMatching)
1048 },
1049 {
1041 "enable-deferred-image-decoding", 1050 "enable-deferred-image-decoding",
1042 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME, 1051 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME,
1043 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION, 1052 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION,
1044 kOsMac | kOsLinux | kOsCrOS, 1053 kOsMac | kOsLinux | kOsCrOS,
1045 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding) 1054 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding)
1046 }, 1055 },
1047 { 1056 {
1048 "wallet-service-use-sandbox", 1057 "wallet-service-use-sandbox",
1049 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_NAME, 1058 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_NAME,
1050 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_DESCRIPTION, 1059 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_DESCRIPTION,
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
2707 } 2716 }
2708 2717
2709 const Experiment* GetExperiments(size_t* count) { 2718 const Experiment* GetExperiments(size_t* count) {
2710 *count = num_experiments; 2719 *count = num_experiments;
2711 return experiments; 2720 return experiments;
2712 } 2721 }
2713 2722
2714 } // namespace testing 2723 } // namespace testing
2715 2724
2716 } // namespace about_flags 2725 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698