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

Side by Side Diff: trunk/src/chrome/browser/chrome_content_browser_client.cc

Issue 130183003: Revert 248117 "Password manager now ignores autocomplete='off' b..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 #if !defined(OS_CHROMEOS) 1533 #if !defined(OS_CHROMEOS)
1534 SigninManager* signin_manager = 1534 SigninManager* signin_manager =
1535 SigninManagerFactory::GetForProfile(profile); 1535 SigninManagerFactory::GetForProfile(profile);
1536 if (signin_manager && signin_manager->IsSigninProcess(process->GetID())) 1536 if (signin_manager && signin_manager->IsSigninProcess(process->GetID()))
1537 command_line->AppendSwitch(switches::kSigninProcess); 1537 command_line->AppendSwitch(switches::kSigninProcess);
1538 #endif 1538 #endif
1539 } 1539 }
1540 1540
1541 // Please keep this in alphabetical order. 1541 // Please keep this in alphabetical order.
1542 static const char* const kSwitchNames[] = { 1542 static const char* const kSwitchNames[] = {
1543 autofill::switches::kDisableIgnoreAutocompleteOff,
1544 autofill::switches::kDisableInteractiveAutocomplete, 1543 autofill::switches::kDisableInteractiveAutocomplete,
1545 autofill::switches::kDisablePasswordGeneration, 1544 autofill::switches::kDisablePasswordGeneration,
1545 autofill::switches::kEnableIgnoreAutocompleteOff,
1546 autofill::switches::kEnableInteractiveAutocomplete, 1546 autofill::switches::kEnableInteractiveAutocomplete,
1547 autofill::switches::kEnablePasswordGeneration, 1547 autofill::switches::kEnablePasswordGeneration,
1548 autofill::switches::kNoAutofillNecessaryForPasswordGeneration, 1548 autofill::switches::kNoAutofillNecessaryForPasswordGeneration,
1549 extensions::switches::kAllowHTTPBackgroundPage, 1549 extensions::switches::kAllowHTTPBackgroundPage,
1550 extensions::switches::kAllowLegacyExtensionManifests, 1550 extensions::switches::kAllowLegacyExtensionManifests,
1551 extensions::switches::kAllowScriptingGallery, 1551 extensions::switches::kAllowScriptingGallery,
1552 extensions::switches::kEnableExperimentalExtensionApis, 1552 extensions::switches::kEnableExperimentalExtensionApis,
1553 extensions::switches::kExtensionsOnChromeURLs, 1553 extensions::switches::kExtensionsOnChromeURLs,
1554 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO 1554 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO
1555 // to browser. 1555 // to browser.
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
2700 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on 2700 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on
2701 // Chromium builds as well. 2701 // Chromium builds as well.
2702 return channel <= chrome::VersionInfo::CHANNEL_DEV; 2702 return channel <= chrome::VersionInfo::CHANNEL_DEV;
2703 #else 2703 #else
2704 return false; 2704 return false;
2705 #endif 2705 #endif
2706 } 2706 }
2707 2707
2708 2708
2709 } // namespace chrome 2709 } // namespace chrome
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/about_flags.cc ('k') | trunk/src/chrome/browser/password_manager/password_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698