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

Issue 10831162: contacts: Add ContactManager. (Closed)

Created:
8 years, 4 months ago by Daniel Erat
Modified:
8 years, 4 months ago
CC:
chromium-reviews, derat+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

contacts: Add ContactManager. This adds a singleton class that holds ContactStore objects and exposes Contact objects to the rest of the browser. BUG=128805 TEST=none TBR=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149980

Patch Set 1 #

Patch Set 2 : minor changes #

Patch Set 3 : diff against the correct branch #

Total comments: 9

Patch Set 4 : apply review feedback #

Patch Set 5 : apply review feedback and merge #

Total comments: 2

Patch Set 6 : instance -> g_instance #

Patch Set 7 : add missing virtual on ContactManager dtor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -4 lines) Patch
A chrome/browser/chromeos/contacts/contact_manager.h View 1 2 3 4 5 6 1 chunk +104 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/contacts/contact_manager.cc View 1 2 3 4 5 1 chunk +210 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/contacts/contact_manager_observer.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/contacts/contact_manager_unittest.cc View 1 2 3 1 chunk +173 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/contacts/fake_contact_store.h View 1 2 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/contacts/fake_contact_store.cc View 2 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/contacts/google_contact_store.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Daniel Erat
This is the last part. :-)
8 years, 4 months ago (2012-08-03 20:58:12 UTC) #1
satorux1
http://codereview.chromium.org/10831162/diff/5001/chrome/browser/chromeos/contacts/contact_manager.cc File chrome/browser/chromeos/contacts/contact_manager.cc (right): http://codereview.chromium.org/10831162/diff/5001/chrome/browser/chromeos/contacts/contact_manager.cc#newcode178 chrome/browser/chromeos/contacts/contact_manager.cc:178: store->AddObserver(this); I don't see store->RemoveObserver(this); Usually they should be ...
8 years, 4 months ago (2012-08-03 21:16:22 UTC) #2
Daniel Erat
Please ignore PS4; it was uploaded pre-merge (there's no way to delete patchsets, is there?). ...
8 years, 4 months ago (2012-08-03 22:12:07 UTC) #3
satorux1
LGTM with a nit http://codereview.chromium.org/10831162/diff/9001/chrome/browser/chromeos/contacts/contact_manager.cc File chrome/browser/chromeos/contacts/contact_manager.cc (right): http://codereview.chromium.org/10831162/diff/9001/chrome/browser/chromeos/contacts/contact_manager.cc#newcode26 chrome/browser/chromeos/contacts/contact_manager.cc:26: ContactManager* instance = NULL; please ...
8 years, 4 months ago (2012-08-03 22:18:27 UTC) #4
Daniel Erat
http://codereview.chromium.org/10831162/diff/9001/chrome/browser/chromeos/contacts/contact_manager.cc File chrome/browser/chromeos/contacts/contact_manager.cc (right): http://codereview.chromium.org/10831162/diff/9001/chrome/browser/chromeos/contacts/contact_manager.cc#newcode26 chrome/browser/chromeos/contacts/contact_manager.cc:26: ContactManager* instance = NULL; On 2012/08/03 22:18:28, satorux1 wrote: ...
8 years, 4 months ago (2012-08-03 22:32:02 UTC) #5
Daniel Erat
TBR ben for *.gypi
8 years, 4 months ago (2012-08-03 22:32:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10831162/1010
8 years, 4 months ago (2012-08-03 22:33:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10831162/15
8 years, 4 months ago (2012-08-03 22:47:58 UTC) #8
commit-bot: I haz the power
8 years, 4 months ago (2012-08-04 00:09:20 UTC) #9
Change committed as 149980

Powered by Google App Engine
This is Rietveld 408576698