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

Side by Side Diff: chrome/browser/chrome_content_browser_client.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: 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/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 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1495 SigninManagerFactory::GetForProfile(profile); 1495 SigninManagerFactory::GetForProfile(profile);
1496 if (signin_manager && signin_manager->IsSigninProcess(process->GetID())) 1496 if (signin_manager && signin_manager->IsSigninProcess(process->GetID()))
1497 command_line->AppendSwitch(switches::kSigninProcess); 1497 command_line->AppendSwitch(switches::kSigninProcess);
1498 #endif 1498 #endif
1499 } 1499 }
1500 1500
1501 // Please keep this in alphabetical order. 1501 // Please keep this in alphabetical order.
1502 static const char* const kSwitchNames[] = { 1502 static const char* const kSwitchNames[] = {
1503 autofill::switches::kDisableInteractiveAutocomplete, 1503 autofill::switches::kDisableInteractiveAutocomplete,
1504 autofill::switches::kDisablePasswordGeneration, 1504 autofill::switches::kDisablePasswordGeneration,
1505 autofill::switches::kEnableIgnoreAutocompleteOff, 1505 autofill::switches::kDoNotIgnoreAutocompleteOff,
Patrick Dubroy 2014/01/24 16:39:10 Disable
jww 2014/01/24 18:01:14 Done.
1506 autofill::switches::kEnableInteractiveAutocomplete, 1506 autofill::switches::kEnableInteractiveAutocomplete,
1507 autofill::switches::kEnablePasswordGeneration, 1507 autofill::switches::kEnablePasswordGeneration,
1508 autofill::switches::kNoAutofillNecessaryForPasswordGeneration, 1508 autofill::switches::kNoAutofillNecessaryForPasswordGeneration,
1509 extensions::switches::kAllowHTTPBackgroundPage, 1509 extensions::switches::kAllowHTTPBackgroundPage,
1510 extensions::switches::kAllowLegacyExtensionManifests, 1510 extensions::switches::kAllowLegacyExtensionManifests,
1511 extensions::switches::kAllowScriptingGallery, 1511 extensions::switches::kAllowScriptingGallery,
1512 extensions::switches::kEnableExperimentalExtensionApis, 1512 extensions::switches::kEnableExperimentalExtensionApis,
1513 extensions::switches::kExtensionsOnChromeURLs, 1513 extensions::switches::kExtensionsOnChromeURLs,
1514 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO 1514 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO
1515 // to browser. 1515 // to browser.
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
2661 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on 2661 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on
2662 // Chromium builds as well. 2662 // Chromium builds as well.
2663 return channel <= chrome::VersionInfo::CHANNEL_DEV; 2663 return channel <= chrome::VersionInfo::CHANNEL_DEV;
2664 #else 2664 #else
2665 return false; 2665 return false;
2666 #endif 2666 #endif
2667 } 2667 }
2668 2668
2669 2669
2670 } // namespace chrome 2670 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698