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

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

Issue 2132063002: Implement origin-based deletion for password manager's auto-signin bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed PasswordStoreMac Created 4 years, 5 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 return GetBackend()->RemoveLoginsCreatedBetweenImpl(delete_begin, delete_end); 183 return GetBackend()->RemoveLoginsCreatedBetweenImpl(delete_begin, delete_end);
184 } 184 }
185 185
186 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsSyncedBetweenImpl( 186 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsSyncedBetweenImpl(
187 base::Time delete_begin, 187 base::Time delete_begin,
188 base::Time delete_end) { 188 base::Time delete_end) {
189 return GetBackend()->RemoveLoginsSyncedBetweenImpl(delete_begin, delete_end); 189 return GetBackend()->RemoveLoginsSyncedBetweenImpl(delete_begin, delete_end);
190 } 190 }
191 191
192 PasswordStoreChangeList 192 PasswordStoreChangeList
193 PasswordStoreProxyMac::DisableAutoSignInForAllLoginsImpl() { 193 PasswordStoreProxyMac::DisableAutoSignInForOriginsImpl(
194 return GetBackend()->DisableAutoSignInForAllLoginsImpl(); 194 const base::Callback<bool(const GURL&)>& origin_filter) {
195 return GetBackend()->DisableAutoSignInForOriginsImpl(origin_filter);
195 } 196 }
196 197
197 bool PasswordStoreProxyMac::RemoveStatisticsCreatedBetweenImpl( 198 bool PasswordStoreProxyMac::RemoveStatisticsCreatedBetweenImpl(
198 base::Time delete_begin, 199 base::Time delete_begin,
199 base::Time delete_end) { 200 base::Time delete_end) {
200 return GetBackend()->RemoveStatisticsCreatedBetweenImpl(delete_begin, 201 return GetBackend()->RemoveStatisticsCreatedBetweenImpl(delete_begin,
201 delete_end); 202 delete_end);
202 } 203 }
203 204
204 ScopedVector<autofill::PasswordForm> PasswordStoreProxyMac::FillMatchingLogins( 205 ScopedVector<autofill::PasswordForm> PasswordStoreProxyMac::FillMatchingLogins(
(...skipping 17 matching lines...) Expand all
222 } 223 }
223 224
224 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) { 225 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) {
225 GetBackend()->RemoveSiteStatsImpl(origin_domain); 226 GetBackend()->RemoveSiteStatsImpl(origin_domain);
226 } 227 }
227 228
228 std::vector<std::unique_ptr<password_manager::InteractionsStats>> 229 std::vector<std::unique_ptr<password_manager::InteractionsStats>>
229 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) { 230 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) {
230 return GetBackend()->GetSiteStatsImpl(origin_domain); 231 return GetBackend()->GetSiteStatsImpl(origin_domain);
231 } 232 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698