| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/password_manager/password_store_proxy_mac.h" | 5 #include "chrome/browser/password_manager/password_store_proxy_mac.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 } | 196 } |
| 197 | 197 |
| 198 bool PasswordStoreProxyMac::RemoveStatisticsCreatedBetweenImpl( | 198 bool PasswordStoreProxyMac::RemoveStatisticsCreatedBetweenImpl( |
| 199 base::Time delete_begin, | 199 base::Time delete_begin, |
| 200 base::Time delete_end) { | 200 base::Time delete_end) { |
| 201 return GetBackend()->RemoveStatisticsCreatedBetweenImpl(delete_begin, | 201 return GetBackend()->RemoveStatisticsCreatedBetweenImpl(delete_begin, |
| 202 delete_end); | 202 delete_end); |
| 203 } | 203 } |
| 204 | 204 |
| 205 ScopedVector<autofill::PasswordForm> PasswordStoreProxyMac::FillMatchingLogins( | 205 ScopedVector<autofill::PasswordForm> PasswordStoreProxyMac::FillMatchingLogins( |
| 206 const autofill::PasswordForm& form) { | 206 const FormDigest& form) { |
| 207 return GetBackend()->FillMatchingLogins(form); | 207 return GetBackend()->FillMatchingLogins(form); |
| 208 } | 208 } |
| 209 | 209 |
| 210 bool PasswordStoreProxyMac::FillAutofillableLogins( | 210 bool PasswordStoreProxyMac::FillAutofillableLogins( |
| 211 ScopedVector<autofill::PasswordForm>* forms) { | 211 ScopedVector<autofill::PasswordForm>* forms) { |
| 212 return GetBackend()->FillAutofillableLogins(forms); | 212 return GetBackend()->FillAutofillableLogins(forms); |
| 213 } | 213 } |
| 214 | 214 |
| 215 bool PasswordStoreProxyMac::FillBlacklistLogins( | 215 bool PasswordStoreProxyMac::FillBlacklistLogins( |
| 216 ScopedVector<autofill::PasswordForm>* forms) { | 216 ScopedVector<autofill::PasswordForm>* forms) { |
| 217 return GetBackend()->FillBlacklistLogins(forms); | 217 return GetBackend()->FillBlacklistLogins(forms); |
| 218 } | 218 } |
| 219 | 219 |
| 220 void PasswordStoreProxyMac::AddSiteStatsImpl( | 220 void PasswordStoreProxyMac::AddSiteStatsImpl( |
| 221 const password_manager::InteractionsStats& stats) { | 221 const password_manager::InteractionsStats& stats) { |
| 222 GetBackend()->AddSiteStatsImpl(stats); | 222 GetBackend()->AddSiteStatsImpl(stats); |
| 223 } | 223 } |
| 224 | 224 |
| 225 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) { | 225 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) { |
| 226 GetBackend()->RemoveSiteStatsImpl(origin_domain); | 226 GetBackend()->RemoveSiteStatsImpl(origin_domain); |
| 227 } | 227 } |
| 228 | 228 |
| 229 std::vector<std::unique_ptr<password_manager::InteractionsStats>> | 229 std::vector<std::unique_ptr<password_manager::InteractionsStats>> |
| 230 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) { | 230 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) { |
| 231 return GetBackend()->GetSiteStatsImpl(origin_domain); | 231 return GetBackend()->GetSiteStatsImpl(origin_domain); |
| 232 } | 232 } |
| OLD | NEW |