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

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: Fixes from gcasto Created 6 years, 3 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 | Annotate | Revision Log
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 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 #if !defined(OS_ANDROID) 1907 #if !defined(OS_ANDROID)
1908 { 1908 {
1909 "enable-message-center-always-scroll-up-upon-notification-removal", 1909 "enable-message-center-always-scroll-up-upon-notification-removal",
1910 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_NAME, 1910 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_NAME,
1911 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_DESCRIPTION, 1911 IDS_FLAGS_ENABLE_MESSAGE_CENTER_ALWAYS_SCROLL_UP_UPON_REMOVAL_DESCRIPTION,
1912 kOsDesktop, 1912 kOsDesktop,
1913 SINGLE_VALUE_TYPE( 1913 SINGLE_VALUE_TYPE(
1914 switches::kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval) 1914 switches::kEnableMessageCenterAlwaysScrollUpUponNotificationRemoval)
1915 }, 1915 },
1916 #endif 1916 #endif
1917 {
1918 "enable-fill-on-account-select",
1919 IDS_ENABLE_FILL_ON_ACCOUNT_SELECT_NAME,
1920 IDS_ENABLE_FILL_ON_ACCOUNT_SELECT_DESCRIPTION,
1921 kOsAll,
1922 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnableFillOnAccountSelect,
1923 autofill::switches::kDisableFillOnAccountSelect)
1924 },
1917 // NOTE: Adding new command-line switches requires adding corresponding 1925 // NOTE: Adding new command-line switches requires adding corresponding
1918 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 1926 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
1919 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 1927 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
1920 }; 1928 };
1921 1929
1922 const Experiment* experiments = kExperiments; 1930 const Experiment* experiments = kExperiments;
1923 size_t num_experiments = arraysize(kExperiments); 1931 size_t num_experiments = arraysize(kExperiments);
1924 1932
1925 // Stores and encapsulates the little state that about:flags has. 1933 // Stores and encapsulates the little state that about:flags has.
1926 class FlagsState { 1934 class FlagsState {
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
2487 } 2495 }
2488 2496
2489 const Experiment* GetExperiments(size_t* count) { 2497 const Experiment* GetExperiments(size_t* count) {
2490 *count = num_experiments; 2498 *count = num_experiments;
2491 return experiments; 2499 return experiments;
2492 } 2500 }
2493 2501
2494 } // namespace testing 2502 } // namespace testing
2495 2503
2496 } // namespace about_flags 2504 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698