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

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

Issue 773573004: Fill on account select in the password manager behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix browser_test crashes Created 6 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
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 2036 matching lines...) Expand 10 before | Expand all | Expand 10 after
2047 SINGLE_VALUE_TYPE(switches::kEnableSeccompFilterSandbox) 2047 SINGLE_VALUE_TYPE(switches::kEnableSeccompFilterSandbox)
2048 }, 2048 },
2049 #endif 2049 #endif
2050 { 2050 {
2051 "enable-touch-hover", 2051 "enable-touch-hover",
2052 IDS_FLAGS_ENABLE_TOUCH_HOVER_NAME, 2052 IDS_FLAGS_ENABLE_TOUCH_HOVER_NAME,
2053 IDS_FLAGS_ENABLE_TOUCH_HOVER_DESCRIPTION, 2053 IDS_FLAGS_ENABLE_TOUCH_HOVER_DESCRIPTION,
2054 kOsAndroid, 2054 kOsAndroid,
2055 SINGLE_VALUE_TYPE("enable-touch-hover") 2055 SINGLE_VALUE_TYPE("enable-touch-hover")
2056 }, 2056 },
2057 {
2058 "enable-fill-on-account-select",
2059 IDS_FILL_ON_ACCOUNT_SELECT_NAME,
2060 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION,
2061 kOsAll,
2062 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnableFillOnAccountSelect,
2063 autofill::switches::kDisableFillOnAccountSelect)
2064 },
2057 2065
2058 // NOTE: Adding new command-line switches requires adding corresponding 2066 // NOTE: Adding new command-line switches requires adding corresponding
2059 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2067 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2060 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2068 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2061 }; 2069 };
2062 2070
2063 const Experiment* experiments = kExperiments; 2071 const Experiment* experiments = kExperiments;
2064 size_t num_experiments = arraysize(kExperiments); 2072 size_t num_experiments = arraysize(kExperiments);
2065 2073
2066 // Stores and encapsulates the little state that about:flags has. 2074 // Stores and encapsulates the little state that about:flags has.
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
2626 } 2634 }
2627 2635
2628 const Experiment* GetExperiments(size_t* count) { 2636 const Experiment* GetExperiments(size_t* count) {
2629 *count = num_experiments; 2637 *count = num_experiments;
2630 return experiments; 2638 return experiments;
2631 } 2639 }
2632 2640
2633 } // namespace testing 2641 } // namespace testing
2634 2642
2635 } // namespace about_flags 2643 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698