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

Unified Diff: chrome/browser/chromeos/contacts/fake_contact_database.cc

Issue 10827406: contacts: Rename provider_id to contact_id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/contacts/fake_contact_database.cc
diff --git a/chrome/browser/chromeos/contacts/fake_contact_database.cc b/chrome/browser/chromeos/contacts/fake_contact_database.cc
index a6e8b52d8db3913d1579d6b72d2b67efaee77c80..6cd314c3f549956b5c8c337fda76e80911edc99a 100644
--- a/chrome/browser/chromeos/contacts/fake_contact_database.cc
+++ b/chrome/browser/chromeos/contacts/fake_contact_database.cc
@@ -76,7 +76,7 @@ void FakeContactDatabase::MergeContacts(
for (ScopedVector<Contact>::const_iterator existing_it = contacts_.begin();
existing_it != contacts_.end(); ++existing_it) {
Contact* existing_contact = *existing_it;
- if (existing_contact->provider_id() == updated_contact.provider_id()) {
+ if (existing_contact->contact_id() == updated_contact.contact_id()) {
*existing_contact = updated_contact;
found = true;
break;
« no previous file with comments | « chrome/browser/chromeos/contacts/contact_test_util.cc ('k') | chrome/browser/chromeos/contacts/fake_contact_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698