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

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

Issue 146023002: Password manager now ignores autocomplete='off' by default; user may specify a flag that says other… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed flag prefix from --do-not... to --disable... Created 6 years, 11 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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1929 matching lines...) Expand 10 before | Expand all | Expand 10 after
1940 MULTI_VALUE_TYPE(kOriginChipChoices) 1940 MULTI_VALUE_TYPE(kOriginChipChoices)
1941 }, 1941 },
1942 { 1942 {
1943 "search-button-in-omnibox", 1943 "search-button-in-omnibox",
1944 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_NAME, 1944 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_NAME,
1945 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_DESCRIPTION, 1945 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_DESCRIPTION,
1946 kOsCrOS | kOsMac | kOsWin, 1946 kOsCrOS | kOsMac | kOsWin,
1947 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices) 1947 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices)
1948 }, 1948 },
1949 { 1949 {
1950 "enable-ignore-autocomplete-off", 1950 "disable-ignore-autocomplete-off",
1951 IDS_FLAGS_ENABLE_IGNORE_AUTOCOMPLETE_OFF_NAME, 1951 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_NAME,
1952 IDS_FLAGS_ENABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION, 1952 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION,
1953 kOsAll, 1953 kOsAll,
1954 SINGLE_VALUE_TYPE(autofill::switches::kEnableIgnoreAutocompleteOff) 1954 SINGLE_VALUE_TYPE(autofill::switches::kDisableIgnoreAutocompleteOff)
1955 }, 1955 },
1956 #if defined(USE_AURA) || defined(OS_WIN) 1956 #if defined(USE_AURA) || defined(OS_WIN)
1957 { 1957 {
1958 "enable-save-password-bubble", 1958 "enable-save-password-bubble",
1959 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_NAME, 1959 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_NAME,
1960 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_DESCRIPTION, 1960 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_DESCRIPTION,
1961 kOsWin | kOsCrOS, 1961 kOsWin | kOsCrOS,
1962 SINGLE_VALUE_TYPE(switches::kEnableSavePasswordBubble) 1962 SINGLE_VALUE_TYPE(switches::kEnableSavePasswordBubble)
1963 }, 1963 },
1964 #endif 1964 #endif
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
2500 } 2500 }
2501 2501
2502 const Experiment* GetExperiments(size_t* count) { 2502 const Experiment* GetExperiments(size_t* count) {
2503 *count = num_experiments; 2503 *count = num_experiments;
2504 return experiments; 2504 return experiments;
2505 } 2505 }
2506 2506
2507 } // namespace testing 2507 } // namespace testing
2508 2508
2509 } // namespace about_flags 2509 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698