| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/app_list/search/people/person.h" | 5 #include "chrome/browser/ui/app_list/search/people/person.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 #include "ui/base/l10n/l10n_util.h" | |
| 12 | 11 |
| 13 namespace { | 12 namespace { |
| 14 | 13 |
| 15 const char kKeyId[] = "person.id"; | 14 const char kKeyId[] = "person.id"; |
| 16 const char kKeyNames[] = "person.names"; | 15 const char kKeyNames[] = "person.names"; |
| 17 const char kKeyDisplayName[] = "displayName"; | 16 const char kKeyDisplayName[] = "displayName"; |
| 18 const char kKeyEmails[] = "person.emails"; | 17 const char kKeyEmails[] = "person.emails"; |
| 19 const char kKeyEmailValue[] = "value"; | 18 const char kKeyEmailValue[] = "value"; |
| 20 const char kKeyInteractionRank[] = "person.sortKeys.interactionRank"; | 19 const char kKeyInteractionRank[] = "person.sortKeys.interactionRank"; |
| 21 const char kKeyImages[] = "person.images"; | 20 const char kKeyImages[] = "person.images"; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 Person::~Person() { | 105 Person::~Person() { |
| 107 } | 106 } |
| 108 | 107 |
| 109 scoped_ptr<Person> Person::Duplicate() { | 108 scoped_ptr<Person> Person::Duplicate() { |
| 110 scoped_ptr<Person> person(new Person()); | 109 scoped_ptr<Person> person(new Person()); |
| 111 *person = *this; | 110 *person = *this; |
| 112 return person.Pass(); | 111 return person.Pass(); |
| 113 } | 112 } |
| 114 | 113 |
| 115 } // namespace app_list | 114 } // namespace app_list |
| OLD | NEW |