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

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: 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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 }, 1044 },
1045 { 1045 {
1046 "enable-password-save-in-page-navigation", 1046 "enable-password-save-in-page-navigation",
1047 IDS_FLAGS_ENABLE_SAVE_PASSOWRD_ON_IN_PAGE_NAVIGATION_NAME, 1047 IDS_FLAGS_ENABLE_SAVE_PASSOWRD_ON_IN_PAGE_NAVIGATION_NAME,
1048 IDS_FLAGS_ENABLE_SAVE_PASSOWRD_ON_IN_PAGE_NAVIGATION_DESCRIPTION, 1048 IDS_FLAGS_ENABLE_SAVE_PASSOWRD_ON_IN_PAGE_NAVIGATION_DESCRIPTION,
1049 kOsAll, 1049 kOsAll,
1050 SINGLE_VALUE_TYPE( 1050 SINGLE_VALUE_TYPE(
1051 autofill::switches::kEnablePasswordSaveOnInPageNavigation) 1051 autofill::switches::kEnablePasswordSaveOnInPageNavigation)
1052 }, 1052 },
1053 { 1053 {
1054 "enable-affiliation-based-matching",
Alexei Svitkine (slow) 2015/02/03 17:27:41 I think you may need to add an entry to histograms
engedy 2015/02/03 18:24:27 Ah, thanks, done.
1055 IDS_FLAGS_ENABLE_AFFILIATION_BASED_MATCHING_NAME,
1056 IDS_FLAGS_ENABLE_AFFILIATION_BASED_MATCHING_DESCRIPTION,
1057 kOsWin | kOsLinux | kOsCrOS | kOsMac,
1058 ENABLE_DISABLE_VALUE_TYPE(
1059 password_manager::switches::kEnableAffiliationBasedMatching,
1060 password_manager::switches::kDisableAffiliationBasedMatching)
1061 },
1062 {
1054 "enable-deferred-image-decoding", 1063 "enable-deferred-image-decoding",
1055 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME, 1064 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME,
1056 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION, 1065 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION,
1057 kOsMac | kOsLinux | kOsCrOS, 1066 kOsMac | kOsLinux | kOsCrOS,
1058 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding) 1067 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding)
1059 }, 1068 },
1060 { 1069 {
1061 "wallet-service-use-sandbox", 1070 "wallet-service-use-sandbox",
1062 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_NAME, 1071 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_NAME,
1063 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_DESCRIPTION, 1072 IDS_FLAGS_WALLET_SERVICE_USE_SANDBOX_DESCRIPTION,
(...skipping 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after
2733 } 2742 }
2734 2743
2735 const Experiment* GetExperiments(size_t* count) { 2744 const Experiment* GetExperiments(size_t* count) {
2736 *count = num_experiments; 2745 *count = num_experiments;
2737 return experiments; 2746 return experiments;
2738 } 2747 }
2739 2748
2740 } // namespace testing 2749 } // namespace testing
2741 2750
2742 } // namespace about_flags 2751 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698