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

Side by Side Diff: chrome/browser/chromeos/contacts/contact.cc

Issue 10803045: contacts: Add Contact struct and test functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chromeos/contacts/contact.h"
6
7 namespace contacts {
8
9 Contact::AddressType::AddressType() : relation(RELATION_OTHER) {}
10
11 Contact::EmailAddress::EmailAddress() : primary(false) {}
12
13 Contact::PhoneNumber::PhoneNumber() : primary(false) {}
14
15 Contact::PostalAddress::PostalAddress() : primary(false) {}
16
17 Contact::InstantMessagingAddress::InstantMessagingAddress()
18 : protocol(PROTOCOL_OTHER),
19 primary(false) {}
20
21 Contact::Contact() : deleted(false) {}
22
23 Contact::~Contact() {}
24
25 } // namespace contacts
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/contacts/contact.h ('k') | chrome/browser/chromeos/contacts/contact_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698