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

Issue 10834220: contacts: Only download contacts from "My Contacts" group. (Closed)

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

Description

contacts: Only download contacts from "My Contacts" group. The contacts GData code was previously fetching the default feed, which includes "Other Contacts" suggested by Gmail (i.e. everyone you've ever emailed). This change makes GDataContactsService first fetch the list of contact groups so it can find the ID of the user-curated "My Contacts" group, and then use it when requesting the contacts themselves. BUG=128805 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150575

Patch Set 1 #

Patch Set 2 : minor changes #

Total comments: 7

Patch Set 3 : merge and apply review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+619 lines, -45 lines) Patch
M chrome/browser/chromeos/gdata/gdata_contacts_service.h View 3 chunks +16 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_contacts_service.cc View 1 2 14 chunks +184 lines, -31 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_contacts_service_browsertest.cc View 9 chunks +37 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_operations.h View 2 chunks +31 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_operations.cc View 4 chunks +31 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/gdata/contacts/groups.json View 1 chunk +173 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/gdata/contacts/groups_no_my_contacts.json View 1 chunk +147 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Daniel Erat
8 years, 4 months ago (2012-08-08 01:05:35 UTC) #1
satorux1
http://codereview.chromium.org/10834220/diff/2001/chrome/browser/chromeos/gdata/gdata_contacts_service.cc File chrome/browser/chromeos/gdata/gdata_contacts_service.cc (right): http://codereview.chromium.org/10834220/diff/2001/chrome/browser/chromeos/gdata/gdata_contacts_service.cc#newcode330 chrome/browser/chromeos/gdata/gdata_contacts_service.cc:330: std::string system_group_id; What are the difference between the two ...
8 years, 4 months ago (2012-08-08 13:37:16 UTC) #2
Daniel Erat
http://codereview.chromium.org/10834220/diff/2001/chrome/browser/chromeos/gdata/gdata_contacts_service.cc File chrome/browser/chromeos/gdata/gdata_contacts_service.cc (right): http://codereview.chromium.org/10834220/diff/2001/chrome/browser/chromeos/gdata/gdata_contacts_service.cc#newcode330 chrome/browser/chromeos/gdata/gdata_contacts_service.cc:330: std::string system_group_id; On 2012/08/08 13:37:16, satorux1 wrote: > What ...
8 years, 4 months ago (2012-08-08 14:30:49 UTC) #3
satorux1
LGTM http://codereview.chromium.org/10834220/diff/2001/chrome/browser/chromeos/gdata/gdata_contacts_service.cc File chrome/browser/chromeos/gdata/gdata_contacts_service.cc (right): http://codereview.chromium.org/10834220/diff/2001/chrome/browser/chromeos/gdata/gdata_contacts_service.cc#newcode490 chrome/browser/chromeos/gdata/gdata_contacts_service.cc:490: my_contacts_group_id_, On 2012/08/08 14:30:50, Daniel Erat wrote: > ...
8 years, 4 months ago (2012-08-08 14:58:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10834220/9001
8 years, 4 months ago (2012-08-08 15:32:58 UTC) #5
commit-bot: I haz the power
8 years, 4 months ago (2012-08-08 17:11:52 UTC) #6
Change committed as 150575

Powered by Google App Engine
This is Rietveld 408576698