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 "components/autofill/core/browser/personal_data_manager.h" | 5 #include "components/autofill/core/browser/personal_data_manager.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <functional> | 8 #include <functional> |
9 #include <iterator> | 9 #include <iterator> |
10 | 10 |
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
907 CancelPendingQuery(&pending_profiles_query_); | 907 CancelPendingQuery(&pending_profiles_query_); |
908 | 908 |
909 pending_profiles_query_ = database_->GetAutofillProfiles(this); | 909 pending_profiles_query_ = database_->GetAutofillProfiles(this); |
910 } | 910 } |
911 | 911 |
912 // Win, Linux, and iOS implementations do nothing. Mac and Android | 912 // Win, Linux, and iOS implementations do nothing. Mac and Android |
913 // implementations fill in the contents of |auxiliary_profiles_|. | 913 // implementations fill in the contents of |auxiliary_profiles_|. |
914 #if defined(OS_IOS) || (!defined(OS_MACOSX) && !defined(OS_ANDROID)) | 914 #if defined(OS_IOS) || (!defined(OS_MACOSX) && !defined(OS_ANDROID)) |
915 void PersonalDataManager::LoadAuxiliaryProfiles() const { | 915 void PersonalDataManager::LoadAuxiliaryProfiles() const { |
916 } | 916 } |
917 | |
918 bool PersonalDataManager::HasAccessMacContacts() { | |
919 return false; | |
920 } | |
921 | |
922 void PersonalDataManager::AccessMacContacts() { | |
Ilya Sherman
2014/05/16 22:54:02
Either these methods should not have "Mac" in the
erikchen
2014/05/19 20:58:32
I've removed these methods from personal_data_mana
| |
923 } | |
924 | |
917 #endif | 925 #endif |
918 | 926 |
919 void PersonalDataManager::LoadCreditCards() { | 927 void PersonalDataManager::LoadCreditCards() { |
920 if (!database_.get()) { | 928 if (!database_.get()) { |
921 NOTREACHED(); | 929 NOTREACHED(); |
922 return; | 930 return; |
923 } | 931 } |
924 | 932 |
925 CancelPendingQuery(&pending_creditcards_query_); | 933 CancelPendingQuery(&pending_creditcards_query_); |
926 | 934 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1072 | 1080 |
1073 return std::string(); | 1081 return std::string(); |
1074 } | 1082 } |
1075 | 1083 |
1076 void PersonalDataManager::EnabledPrefChanged() { | 1084 void PersonalDataManager::EnabledPrefChanged() { |
1077 default_country_code_.clear(); | 1085 default_country_code_.clear(); |
1078 NotifyPersonalDataChanged(); | 1086 NotifyPersonalDataChanged(); |
1079 } | 1087 } |
1080 | 1088 |
1081 } // namespace autofill | 1089 } // namespace autofill |
OLD | NEW |