diff options
author | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 19:50:59 +0000 |
---|---|---|
committer | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 19:50:59 +0000 |
commit | 95fd5facaff32caa53dd58dc9139e07140d8834c (patch) | |
tree | 3a1255516b7a24af643ed674231403404846d444 /courgette/win32_x86_patcher.h | |
parent | cc82864b32ed75d814d02abe343c23910e3fc5d3 (diff) | |
download | chromium_src-95fd5facaff32caa53dd58dc9139e07140d8834c.zip chromium_src-95fd5facaff32caa53dd58dc9139e07140d8834c.tar.gz chromium_src-95fd5facaff32caa53dd58dc9139e07140d8834c.tar.bz2 |
Handling empty ScopedDirLookup username in HandleDirectoryManagerEvent().
The constructor of syncable::ScopedDirLookup takes the username of the
account being synced. There are times when the username is blank,
resulting in a DCHECK being fired for the value of good() within the method
SyncManager::SyncInternal::InitialSyncEndedForAllEnabledTypes().
This patch makes sure that a ScopedDirLookup with a blank username is
never created by adding a check in the method
SyncManager::SyncInternal::HandleDirectoryManagerEvent().
BUG=51820
TEST=sync_integration_tests
Review URL: http://codereview.chromium.org/3184009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/win32_x86_patcher.h')
0 files changed, 0 insertions, 0 deletions