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

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: Fix memory leak in unit test Created 6 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 | 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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1901 matching lines...) Expand 10 before | Expand all | Expand 10 after
1912 MULTI_VALUE_TYPE(kOriginChipChoices) 1912 MULTI_VALUE_TYPE(kOriginChipChoices)
1913 }, 1913 },
1914 { 1914 {
1915 "search-button-in-omnibox", 1915 "search-button-in-omnibox",
1916 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_NAME, 1916 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_NAME,
1917 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_DESCRIPTION, 1917 IDS_FLAGS_SEARCH_BUTTON_IN_OMNIBOX_DESCRIPTION,
1918 kOsCrOS | kOsMac | kOsWin, 1918 kOsCrOS | kOsMac | kOsWin,
1919 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices) 1919 MULTI_VALUE_TYPE(kSearchButtonInOmniboxChoices)
1920 }, 1920 },
1921 { 1921 {
1922 "enable-ignore-autocomplete-off", 1922 "disable-ignore-autocomplete-off",
1923 IDS_FLAGS_ENABLE_IGNORE_AUTOCOMPLETE_OFF_NAME, 1923 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_NAME,
1924 IDS_FLAGS_ENABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION, 1924 IDS_FLAGS_DISABLE_IGNORE_AUTOCOMPLETE_OFF_DESCRIPTION,
1925 kOsAll, 1925 kOsAll,
1926 SINGLE_VALUE_TYPE(autofill::switches::kEnableIgnoreAutocompleteOff) 1926 SINGLE_VALUE_TYPE(autofill::switches::kDisableIgnoreAutocompleteOff)
1927 }, 1927 },
1928 #if defined(USE_AURA) || defined(OS_WIN) 1928 #if defined(USE_AURA) || defined(OS_WIN)
1929 { 1929 {
1930 "enable-save-password-bubble", 1930 "enable-save-password-bubble",
1931 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_NAME, 1931 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_NAME,
1932 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_DESCRIPTION, 1932 IDS_FLAGS_ENABLE_PASSWORD_BUBBLE_DESCRIPTION,
1933 kOsWin | kOsCrOS, 1933 kOsWin | kOsCrOS,
1934 SINGLE_VALUE_TYPE(switches::kEnableSavePasswordBubble) 1934 SINGLE_VALUE_TYPE(switches::kEnableSavePasswordBubble)
1935 }, 1935 },
1936 #endif 1936 #endif
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
2486 } 2486 }
2487 2487
2488 const Experiment* GetExperiments(size_t* count) { 2488 const Experiment* GetExperiments(size_t* count) {
2489 *count = num_experiments; 2489 *count = num_experiments;
2490 return experiments; 2490 return experiments;
2491 } 2491 }
2492 2492
2493 } // namespace testing 2493 } // namespace testing
2494 2494
2495 } // namespace about_flags 2495 } // 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