Searched refs:contact_id (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/contacts/
H A Dcontact_map.cc15 const Contact* ContactMap::Find(const std::string& contact_id) const {
16 Map::const_iterator it = contacts_.find(contact_id);
20 void ContactMap::Erase(const std::string& contact_id) { argument
21 Map::iterator it = contacts_.find(contact_id);
38 Map::iterator map_it = contacts_.find(contact->contact_id());
52 contacts_[contact->contact_id()] = contact;
H A Dcontact_map.h46 // Returns the contact with ID |contact_id|. NULL is returned if the contact
48 const Contact* Find(const std::string& contact_id) const;
50 // Deletes the contact with ID |contact_id|.
51 void Erase(const std::string& contact_id);
H A Dcontact_manager_stub.cc71 const std::string& contact_id) {
75 if (contacts_[i]->contact_id() == contact_id)
69 GetContactById( Profile* profile, const std::string& contact_id) argument
H A Dfake_contact_store.cc32 contacts_[(*it)->contact_id()] = new Contact(**it);
54 const Contact* FakeContactStore::GetContactById(const std::string& contact_id) { argument
55 ContactMap::const_iterator it = contacts_.find(contact_id);
H A Dcontact_manager_stub.h35 const std::string& contact_id) OVERRIDE;
H A Dcontact_store.h33 // Returns the contact identified by |contact_id|.
35 virtual const Contact* GetContactById(const std::string& contact_id) = 0;
H A Dcontact_manager.h52 // Returns the contact identified by |contact_id|.
55 const std::string& contact_id) = 0;
85 const std::string& contact_id) OVERRIDE;
H A Dcontact_test_util.h45 // fields are cleared. |contact_id| corresponds to Contact::contact_id,
49 void InitContact(const std::string& contact_id,
H A Dfake_contact_store.h43 virtual const Contact* GetContactById(const std::string& contact_id) OVERRIDE;
H A Dcontact_database.cc261 if (contact.contact_id() == kUpdateMetadataKey) {
263 << contact.contact_id();
266 updates.Put(leveldb::Slice(contact.contact_id()),
269 keys_to_delete.erase(contact.contact_id());
H A Dgdata_contacts_service.cc686 << " id=" << contact->contact_id()
739 << contact->contact_id();
757 VLOG(1) << "Got photo data for " << contact->contact_id()
766 << "for " << contact->contact_id() << "; retrying";
774 << "for " << contact->contact_id() << "; skipping";
782 << "for " << contact->contact_id() << "; giving up";
H A Dcontact_test_util.cc75 contact.contact_id() + "," +
163 void InitContact(const std::string& contact_id, argument
169 contact->set_contact_id(contact_id);
H A Dgoogle_contact_store.h87 virtual const Contact* GetContactById(const std::string& contact_id) OVERRIDE;
H A Dcontact_manager.cc117 const std::string& contact_id) {
122 it->second->GetContactById(contact_id) :
116 GetContactById(Profile* profile, const std::string& contact_id) argument
H A Dgoogle_contact_store.cc161 const std::string& contact_id) {
163 return contacts_.Find(contact_id);
307 contact_ids_to_delete_from_db->push_back(contact->contact_id());
160 GetContactById( const std::string& contact_id) argument
H A Dgdata_contacts_service_unittest.cc41 void InitContact(const std::string& contact_id, argument
52 contact->set_contact_id(contact_id);
/external/chromium_org/chrome/browser/autocomplete/
H A Dcontact_provider_chromeos.cc64 const char ContactProvider::kMatchContactIdKey[] = "contact_id";
71 const std::string& contact_id,
78 contact_id(contact_id),
96 std::string contact_id; member in struct:ContactProvider::ContactData
185 ContactData(full_name, given_name, family_name, contact.contact_id(),
234 match.RecordAdditionalInfo(kMatchContactIdKey, contact.contact_id);
68 ContactData(const base::string16& full_name, const base::string16& given_name, const base::string16& family_name, const std::string& contact_id, float affinity) argument
H A Dcontact_provider_chromeos_unittest.cc35 void InitContact(const std::string& contact_id, argument
40 contact->set_contact_id(contact_id);
273 EXPECT_EQ(exp_contact.contact_id(), match_id)
274 << "Expected contact ID " << exp_contact.contact_id()

Completed in 269 milliseconds