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

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

Issue 492043003: Fill on account select in the password manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit tests 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_content_browser_client.cc » ('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 2077 matching lines...) Expand 10 before | Expand all | Expand 10 after
2088 SINGLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker) 2088 SINGLE_VALUE_TYPE(chromeos::switches::kDisableNewZIPUnpacker)
2089 }, 2089 },
2090 #endif // defined(OS_CHROMEOS) 2090 #endif // defined(OS_CHROMEOS)
2091 { 2091 {
2092 "ssl-version-min", 2092 "ssl-version-min",
2093 IDS_FLAGS_SSL_VERSION_MIN_NAME, 2093 IDS_FLAGS_SSL_VERSION_MIN_NAME,
2094 IDS_FLAGS_SSL_VERSION_MIN_DESCRIPTION, 2094 IDS_FLAGS_SSL_VERSION_MIN_DESCRIPTION,
2095 kOsAll, 2095 kOsAll,
2096 MULTI_VALUE_TYPE(kSSLVersionMinChoices) 2096 MULTI_VALUE_TYPE(kSSLVersionMinChoices)
2097 }, 2097 },
2098 {
2099 "enable-fill-on-account-select",
2100 IDS_ENABLE_FILL_ON_ACCOUNT_SELECT_NAME,
2101 IDS_ENABLE_FILL_ON_ACCOUNT_SELECT_DESCRIPTION,
2102 kOsAll,
2103 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnableFillOnAccountSelect,
2104 autofill::switches::kDisableFillOnAccountSelect)
2105 },
2098 // NOTE: Adding new command-line switches requires adding corresponding 2106 // NOTE: Adding new command-line switches requires adding corresponding
2099 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2107 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2100 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2108 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2101 }; 2109 };
2102 2110
2103 const Experiment* experiments = kExperiments; 2111 const Experiment* experiments = kExperiments;
2104 size_t num_experiments = arraysize(kExperiments); 2112 size_t num_experiments = arraysize(kExperiments);
2105 2113
2106 // Stores and encapsulates the little state that about:flags has. 2114 // Stores and encapsulates the little state that about:flags has.
2107 class FlagsState { 2115 class FlagsState {
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
2673 } 2681 }
2674 2682
2675 const Experiment* GetExperiments(size_t* count) { 2683 const Experiment* GetExperiments(size_t* count) {
2676 *count = num_experiments; 2684 *count = num_experiments;
2677 return experiments; 2685 return experiments;
2678 } 2686 }
2679 2687
2680 } // namespace testing 2688 } // namespace testing
2681 2689
2682 } // namespace about_flags 2690 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698