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

Side by Side Diff: chrome/browser/password_manager/password_store_proxy_mac.cc

Issue 2899083004: Implement PasswordStore::GetLoginsForSameOrganizationName. (Closed)
Patch Set: Rebase. Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 base::Time delete_end) { 182 base::Time delete_end) {
183 return GetBackend()->RemoveStatisticsByOriginAndTimeImpl( 183 return GetBackend()->RemoveStatisticsByOriginAndTimeImpl(
184 origin_filter, delete_begin, delete_end); 184 origin_filter, delete_begin, delete_end);
185 } 185 }
186 186
187 std::vector<std::unique_ptr<autofill::PasswordForm>> 187 std::vector<std::unique_ptr<autofill::PasswordForm>>
188 PasswordStoreProxyMac::FillMatchingLogins(const FormDigest& form) { 188 PasswordStoreProxyMac::FillMatchingLogins(const FormDigest& form) {
189 return GetBackend()->FillMatchingLogins(form); 189 return GetBackend()->FillMatchingLogins(form);
190 } 190 }
191 191
192 std::vector<std::unique_ptr<autofill::PasswordForm>>
193 PasswordStoreProxyMac::FillLoginsForSameOrganizationName(
194 const std::string& signon_realm) {
195 return GetBackend()->FillLoginsForSameOrganizationName(signon_realm);
196 }
197
192 bool PasswordStoreProxyMac::FillAutofillableLogins( 198 bool PasswordStoreProxyMac::FillAutofillableLogins(
193 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) { 199 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) {
194 return GetBackend()->FillAutofillableLogins(forms); 200 return GetBackend()->FillAutofillableLogins(forms);
195 } 201 }
196 202
197 bool PasswordStoreProxyMac::FillBlacklistLogins( 203 bool PasswordStoreProxyMac::FillBlacklistLogins(
198 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) { 204 std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) {
199 return GetBackend()->FillBlacklistLogins(forms); 205 return GetBackend()->FillBlacklistLogins(forms);
200 } 206 }
201 207
202 void PasswordStoreProxyMac::AddSiteStatsImpl( 208 void PasswordStoreProxyMac::AddSiteStatsImpl(
203 const password_manager::InteractionsStats& stats) { 209 const password_manager::InteractionsStats& stats) {
204 GetBackend()->AddSiteStatsImpl(stats); 210 GetBackend()->AddSiteStatsImpl(stats);
205 } 211 }
206 212
207 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) { 213 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) {
208 GetBackend()->RemoveSiteStatsImpl(origin_domain); 214 GetBackend()->RemoveSiteStatsImpl(origin_domain);
209 } 215 }
210 216
211 std::vector<password_manager::InteractionsStats> 217 std::vector<password_manager::InteractionsStats>
212 PasswordStoreProxyMac::GetAllSiteStatsImpl() { 218 PasswordStoreProxyMac::GetAllSiteStatsImpl() {
213 return GetBackend()->GetAllSiteStatsImpl(); 219 return GetBackend()->GetAllSiteStatsImpl();
214 } 220 }
215 221
216 std::vector<password_manager::InteractionsStats> 222 std::vector<password_manager::InteractionsStats>
217 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) { 223 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) {
218 return GetBackend()->GetSiteStatsImpl(origin_domain); 224 return GetBackend()->GetSiteStatsImpl(origin_domain);
219 } 225 }
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_proxy_mac.h ('k') | chrome/browser/password_manager/password_store_x.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698