| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't disable kwallet support if the first site visited
with a login form has no saved passwords.
* Don't crash when there are certain types of invalid entries
stored in the wallet that fail to deserialize.
TEST=start with --password-store=detect in KDE and check that the above happens
BUG=49968
Review URL: http://codereview.chromium.org/3048052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55535 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2819094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55345 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ASCIIToUTF16. I removed string_util includes from a few places where it
obviously wasn't needed.
In a separate pass, I'm going to remove ASCIITo* from string_util, then I'm
going to do an even later pass to find the unnecessary string_util.h includes
and remove them.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/3058027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54746 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
string_number_conversions.h
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/3013046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54454 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the base namespace in the new file. Update callers.
I removed all wstring variants and also the string->number ones that ignore the return value. That encourages people to write code and forget about error handling.
TEST=included unit tests
BUG=none
Review URL: http://codereview.chromium.org/3056029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54355 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2819063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54102 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=50273
TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux
TBR: erg
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PasswordStore can only be queried from one thread, although the implementation
doesn't immediately look it. This adds DCHECKs to ensure we don't mess this up
in future.
R=wtc,stuartmorgan
BUG=none
TEST=PasswordManagerTest.*
Review URL: http://codereview.chromium.org/3056008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53707 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=trybots
Signed-off-by: Thiago Farina <tfarina@chromium.org>
Review URL: http://codereview.chromium.org/2843062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52837 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
I was unable to reproduce the crash, but it's happening to a lot of people and the web suggests that moving access to GNOME Keyring to the GLib main thread should fix the problem.
BUG=48343, 25404
TEST=hopefully it won't crash for some people any more
Review URL: http://codereview.chromium.org/2953006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52729 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, anyone who included tab_contents.h would bring in a bunch of
implementation details of the password manager from webkit_glue. This breaks
the delegate interface out of the rest of password manager system and makes
FillData not an inner-class so anyone can forward declare FillData instead of
having to include the header to meet a delegate interface.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2877022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52726 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
AutoFill credit card information now gets stored in obfuscated form on disc.
BUG=42038, 49115
TEST=EncryptorTest.CypherTextDiffers, EncryptorTest.DecryptError
Review URL: http://codereview.chromium.org/2931020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52596 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
These changes add encryption support on Mac for the Encryptor class. AES 128 bit is used for the encryption, and the auto-generated password is stored now in the Mac Keychain. This implies the Encryptor class on Mac can now block for user input, and can fail if access is denied.
BUG=42038, 49131
TEST=EncryptorTest.CypherTextDiffers, EncryptorTest.DecryptError, EncryptorPasswordTest.*
Review URL: http://codereview.chromium.org/2943014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52590 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We will track how the manager first interprets the form (match found or not,
etc.), what action if any the user takes to change the values, and the result
(form submitted or not, and did it succeed or fail).
BUG=45946
R=jcivelli@chromium.org, jar@chromium.org
TEST=manual testing using about:histograms/PasswordManager and verifying the stats
Review URL: http://codereview.chromium.org/2831033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51455 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds test coverage for the various update cases to make sure they are all handled correctly.
Also fixes a regression during the recent PasswordStore refactoring that caused the Mac implementation to run queries on the wrong thread (found by the new unit tests).
BUG=35603
TEST=See bug; other password update cases should continue to work as before.
Review URL: http://codereview.chromium.org/2818035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
password store migration, since otherwise fragments of password data may be left in it.
BUG=25404
TEST=the "Login Data" file should get deleted and recreated from scratch after migration
Review URL: http://codereview.chromium.org/2866023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51094 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Older versions of gnome keyring corrupt memory if you fetch too much
data from it. Despite our best efforts, we couldn't come up with a way
to tell if you're using the broken old version so that we could blacklist
it. Instead, we fetch passwords one-by-one, which is slow but tolerable
since we do it on a background thread anyway.
While I'm here, refactor the code a bit to simplify it.
TEST=password manager doesn't crash when using mdm's sample 100 password db
with --password-store=gnome on hardy
Review URL: http://codereview.chromium.org/2838023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50771 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements UMA histograms for the total number of saved passwords and the number of usernames per site/realm.
BUG=45946
R=jcivelli@chromium.org
TEST=none
Review URL: http://codereview.chromium.org/2834009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50677 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than scattering init calls through the code, just inititialize
it once. (In particular, the gnome-keyring support also needs this
function called, and I didn't want to copy it one more time.)
TEST=no threading-related crash during gnome-keyring startup
Review URL: http://codereview.chromium.org/2873015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50652 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PasswordStore object.
Attempting to resubmit this CL. It looks like the previous CLs failed because
of some weird issue with GMock on Windows - moving the ordering of the
method declarations in password_manager_unittest seems to fix things.
TBR=jcivelli@chromium.org
BUG=45946
TEST=unit_tests stays green
Review URL: http://codereview.chromium.org/2810023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50564 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This saves a considerable amount of code. It also removes the call to CryptAcquireContext without CRYPT_VERIFYCONTEXT which is not recommended if passing a NULL container. (We were only computing a hash, so CRYPT_VERIFYCONTEXT was sufficient.)
R=wtc
BUG=none
TEST=PasswordStoreWinTest.ConvertIE7Login
Review URL: http://codereview.chromium.org/2875002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50516 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Also some code cleanup. (Still disabled.)
TEST=should fail to load GNOME Keyring 2.22 (e.g. Ubuntu 8.04), but will load newer versions
BUG=none
Review URL: http://codereview.chromium.org/2814020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50384 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50291 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
manager.
BUG=45946
R=jcivelli
TEST=none
Review URL: http://codereview.chromium.org/2841017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50289 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/2814018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50185 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
R=none
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2850013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50184 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
R=none
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/2822018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50181 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function does nothing for now but I'm submitting it to minimize the
size of the CLs to review (there will be at least two subsequent CLs, one
for Win and Linux and one for Mac).
BUG=45946
R=jcivelli@chromium.org
TEST=none
Review URL: http://codereview.chromium.org/2813013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50177 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
from the default store, and add unit tests. Still disabled.
BUG=12351, 25404
TEST=unit tests work
Review URL: http://codereview.chromium.org/2806002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50034 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PasswordFormManager() doesn't directly depend on the web_data_service, so
I'm removing the #include; doing so exposed a missing dependency of
the safe_browsing_service (which was failing to include chrome_thread.h
directly). Also, the comment above the constructor was wrong.
R=tim@chromium.org
BUG=none
TEST=things still compile
Review URL: http://codereview.chromium.org/2770009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49755 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
They occur when canceling outstanding requests and when removing logins from a range of timestamps.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2819001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49694 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=thestig
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2786015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49618 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
(by generating one of two UserActions).
BUG=none
R=tim@chromium.org, jar@chromium.org
TEST=none
Review URL: http://codereview.chromium.org/2638001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49123 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
directory.
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/2657003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49024 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
dlopen. The GNOME keyring password store is still disabled.
BUG=25404
TEST=gnome keyring password store can be loaded with dlopen
Review URL: http://codereview.chromium.org/2696002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48996 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
state. Still disabled, however.
BUG=12351,25404
TEST=both now seem to work correctly when enabled (but this CL does not enable them)
Review URL: http://codereview.chromium.org/2407001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48983 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=33992
TEST=For the second page in the bug InfoBar should not appear anymore.
Review URL: http://codereview.chromium.org/2089014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47601 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
investigate why it hangs every now and then.
BUG=43836
TEST=none
Review URL: http://codereview.chromium.org/2051012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47532 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1999005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46978 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LoginDatabase.
BUG=None
TEST=compiles
Patch from Thiago Farina <thiago.farina@gmail.com>
Review URL: http://codereview.chromium.org/1700017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46929 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2018001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46850 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
variable before the NULL check
BUG=43408
TEST=none
Patch by Benjamin Jemlich <pcgod99@gmail.com>.
Review URL: http://codereview.chromium.org/2035003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46614 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=43054
TEST=PasswordStoreWinTest.Migration
Review URL: http://codereview.chromium.org/1874001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46412 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=35039
TEST=PasswordStoreDefaultTest.Notifications
Review URL: http://codereview.chromium.org/1758020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46132 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
the WebDataService.
BUG=35038
TEST=PasswordStoreDefaultTest.*
Review URL: http://codereview.chromium.org/1572040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46075 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=PasswordManagerTest::FormSubmitFailedLogin + valgrind
Review URL: http://codereview.chromium.org/1795008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45884 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
PasswordStoreMac so that the sync backend can register as an observer.
BUG=35038
TEST=none
Review URL: http://codereview.chromium.org/1803006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45873 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
signin
The test for whether the login form reappeared on the next page load now ignores invisible forms.
BUG=28911
TEST=none (manual testing with reduced web pages)
Review URL: http://codereview.chromium.org/1656005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45841 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PasswordStoreMac
so that the sync backend can register as an observer.
BUG=35038
TEST=none
Review URL: http://codereview.chromium.org/1752007
TBR=albertb@chromium.org
Review URL: http://codereview.chromium.org/1763013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45661 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
so that the sync backend can register as an observer.
BUG=35038
TEST=none
Review URL: http://codereview.chromium.org/1752007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45640 0039d316-1c4b-4281-b951-d872f2087c98
|