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

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

Issue 1414463004: Implement origin-based deletion for passwords in PasswordDefaultMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 5 years, 2 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 "base/metrics/histogram_macros.h" 7 #include "base/metrics/histogram_macros.h"
8 #include "chrome/browser/password_manager/password_store_mac.h" 8 #include "chrome/browser/password_manager/password_store_mac.h"
9 #include "chrome/browser/password_manager/simple_password_store_mac.h" 9 #include "chrome/browser/password_manager/simple_password_store_mac.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 PasswordStoreChangeList PasswordStoreProxyMac::UpdateLoginImpl( 159 PasswordStoreChangeList PasswordStoreProxyMac::UpdateLoginImpl(
160 const autofill::PasswordForm& form) { 160 const autofill::PasswordForm& form) {
161 return GetBackend()->UpdateLoginImpl(form); 161 return GetBackend()->UpdateLoginImpl(form);
162 } 162 }
163 163
164 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginImpl( 164 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginImpl(
165 const autofill::PasswordForm& form) { 165 const autofill::PasswordForm& form) {
166 return GetBackend()->RemoveLoginImpl(form); 166 return GetBackend()->RemoveLoginImpl(form);
167 } 167 }
168 168
169 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsByOriginAndTimeImpl(
170 const url::Origin& origin,
171 base::Time delete_begin,
172 base::Time delete_end) {
173 return GetBackend()->RemoveLoginsByOriginAndTimeImpl(origin, delete_begin,
174 delete_end);
175 }
176
169 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsCreatedBetweenImpl( 177 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsCreatedBetweenImpl(
170 base::Time delete_begin, 178 base::Time delete_begin,
171 base::Time delete_end) { 179 base::Time delete_end) {
172 return GetBackend()->RemoveLoginsCreatedBetweenImpl(delete_begin, delete_end); 180 return GetBackend()->RemoveLoginsCreatedBetweenImpl(delete_begin, delete_end);
173 } 181 }
174 182
175 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsSyncedBetweenImpl( 183 PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsSyncedBetweenImpl(
176 base::Time delete_begin, 184 base::Time delete_begin,
177 base::Time delete_end) { 185 base::Time delete_end) {
178 return GetBackend()->RemoveLoginsSyncedBetweenImpl(delete_begin, delete_end); 186 return GetBackend()->RemoveLoginsSyncedBetweenImpl(delete_begin, delete_end);
(...skipping 21 matching lines...) Expand all
200 } 208 }
201 209
202 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) { 210 void PasswordStoreProxyMac::RemoveSiteStatsImpl(const GURL& origin_domain) {
203 GetBackend()->RemoveSiteStatsImpl(origin_domain); 211 GetBackend()->RemoveSiteStatsImpl(origin_domain);
204 } 212 }
205 213
206 scoped_ptr<password_manager::InteractionsStats> 214 scoped_ptr<password_manager::InteractionsStats>
207 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) { 215 PasswordStoreProxyMac::GetSiteStatsImpl(const GURL& origin_domain) {
208 return GetBackend()->GetSiteStatsImpl(origin_domain); 216 return GetBackend()->GetSiteStatsImpl(origin_domain);
209 } 217 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698