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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/contacts/contact.cc
diff --git a/chrome/browser/chromeos/contacts/contact.cc b/chrome/browser/chromeos/contacts/contact.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bbb2b7a0f1456fc967d23ab8999b330b7b6b05fa
--- /dev/null
+++ b/chrome/browser/chromeos/contacts/contact.cc
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/chromeos/contacts/contact.h"
+
+namespace contacts {
+
+Contact::AddressType::AddressType() : relation(RELATION_OTHER) {}
+
+Contact::EmailAddress::EmailAddress() : primary(false) {}
+
+Contact::PhoneNumber::PhoneNumber() : primary(false) {}
+
+Contact::PostalAddress::PostalAddress() : primary(false) {}
+
+Contact::InstantMessagingAddress::InstantMessagingAddress()
+ : protocol(PROTOCOL_OTHER),
+ primary(false) {}
+
+Contact::Contact() : deleted(false) {}
+
+Contact::~Contact() {}
+
+} // namespace contacts
« 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