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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 } | 190 } |
191 | 191 |
192 bool PasswordStoreProxyMac::RemoveStatisticsCreatedBetweenImpl( | 192 bool PasswordStoreProxyMac::RemoveStatisticsCreatedBetweenImpl( |
193 base::Time delete_begin, | 193 base::Time delete_begin, |
194 base::Time delete_end) { | 194 base::Time delete_end) { |
195 return GetBackend()->RemoveStatisticsCreatedBetweenImpl(delete_begin, | 195 return GetBackend()->RemoveStatisticsCreatedBetweenImpl(delete_begin, |
196 delete_end); | 196 delete_end); |
197 } | 197 } |
198 | 198 |
199 ScopedVector<autofill::PasswordForm> PasswordStoreProxyMac::FillMatchingLogins( | 199 ScopedVector<autofill::PasswordForm> PasswordStoreProxyMac::FillMatchingLogins( |
200 const autofill::PasswordForm& form, | 200 const autofill::PasswordForm& form) { |
201 AuthorizationPromptPolicy prompt_policy) { | 201 return GetBackend()->FillMatchingLogins(form); |
202 return GetBackend()->FillMatchingLogins(form, prompt_policy); | |
203 } | 202 } |
204 | 203 |
205 bool PasswordStoreProxyMac::FillAutofillableLogins( | 204 bool PasswordStoreProxyMac::FillAutofillableLogins( |
206 ScopedVector<autofill::PasswordForm>* forms) { | 205 ScopedVector<autofill::PasswordForm>* forms) { |
207 return GetBackend()->FillAutofillableLogins(forms); | 206 return GetBackend()->FillAutofillableLogins(forms); |
208 } | 207 } |
209 | 208 |
210 bool PasswordStoreProxyMac::FillBlacklistLogins( | 209 bool PasswordStoreProxyMac::FillBlacklistLogins( |
211 ScopedVector<autofill::PasswordForm>* forms) { | 210 ScopedVector<autofill::PasswordForm>* forms) { |
212 return GetBackend()->FillBlacklistLogins(forms); | 211 return GetBackend()->FillBlacklistLogins(forms); |
213 } | 212 } |
214 | 213 |
215 void PasswordStoreProxyMac::AddSiteStatsImpl( | 214 void PasswordStoreProxyMac::AddSiteStatsImpl( |
216 const password_manager::InteractionsStats& stats) { | 215 const password_manager::InteractionsStats& stats) { |
217 GetBackend()->AddSiteStatsImpl(stats); | 216 GetBackend()->AddSiteStatsImpl(stats); |
218 } | 217 } |
219 | 218 |
220 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) { | 219 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) { |
221 GetBackend()->RemoveSiteStatsImpl(origin_domain); | 220 GetBackend()->RemoveSiteStatsImpl(origin_domain); |
222 } | 221 } |
223 | 222 |
224 std::vector<scoped_ptr<password_manager::InteractionsStats>> | 223 std::vector<scoped_ptr<password_manager::InteractionsStats>> |
225 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) { | 224 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) { |
226 return GetBackend()->GetSiteStatsImpl(origin_domain); | 225 return GetBackend()->GetSiteStatsImpl(origin_domain); |
227 } | 226 } |
OLD | NEW |