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

Unified Diff: chrome/browser/chromeos/gdata/gdata_contacts_service_browsertest.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
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_contacts_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_contacts_service_browsertest.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_contacts_service_browsertest.cc b/chrome/browser/chromeos/gdata/gdata_contacts_service_browsertest.cc
index 575fc2edc4c1b3a619341790f67f024e240d3979..54c7f48677c2a9eb3afbcfc90a459ac4d5425d3b 100644
--- a/chrome/browser/chromeos/gdata/gdata_contacts_service_browsertest.cc
+++ b/chrome/browser/chromeos/gdata/gdata_contacts_service_browsertest.cc
@@ -42,7 +42,7 @@ const char kGroupsFeedFilename[] = "groups.json";
const int kPhotoSize = 48;
// Initializes |contact| using the passed-in values.
-void InitContact(const std::string& provider_id,
+void InitContact(const std::string& contact_id,
const std::string& rfc_3339_update_time,
bool deleted,
const std::string& full_name,
@@ -53,7 +53,7 @@ void InitContact(const std::string& provider_id,
const std::string& name_suffix,
contacts::Contact* contact) {
DCHECK(contact);
- contact->set_provider_id(provider_id);
+ contact->set_contact_id(contact_id);
base::Time update_time;
CHECK(util::GetTimeFromString(rfc_3339_update_time, &update_time))
<< "Unable to parse time \"" << rfc_3339_update_time << "\"";
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_contacts_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698