Descriptioncontacts: Add ContactStoreFactory and FakeContactStore.
This adds a factory interface for ContactStores and a fake,
in-memory implementation of ContactStore. Both will be
needed for testing the upcoming ContactManager class.
I'm also fixing a bug in GoogleContactStore (all contacts
were being passed to ContactDatabase in partial updates
instead of just the updated ones) and another bug in
FakeContactDatabase::SaveContacts() that was hidden by the
GoogleContactStore bug.
BUG=128805
TEST=none
TBR=ben@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149924
Patch Set 1 #Patch Set 2 : merge #Patch Set 3 : add missing clear() call in FakeContactStore #
Total comments: 3
Patch Set 4 : fix GoogleContactStore db-saving bug and FakeContactDatabase partial-update bug and apply review fe… #
Total comments: 6
Messages
Total messages: 7 (0 generated)
|