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

Unified 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: Addressed all remaining comments. Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/password_manager/password_store_proxy_mac.cc
diff --git a/chrome/browser/password_manager/password_store_proxy_mac.cc b/chrome/browser/password_manager/password_store_proxy_mac.cc
index 34e6079bfd7b287f3711e81bb2588a3087efd8ba..668965c91c7030942057c8bd77f2dfc31ef3bc6d 100644
--- a/chrome/browser/password_manager/password_store_proxy_mac.cc
+++ b/chrome/browser/password_manager/password_store_proxy_mac.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/password_manager/password_store_proxy_mac.h"
+#include <string>
+
#include "base/metrics/histogram_macros.h"
#include "chrome/browser/password_manager/password_store_mac.h"
#include "chrome/browser/password_manager/simple_password_store_mac.h"
@@ -166,6 +168,14 @@ PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginImpl(
return GetBackend()->RemoveLoginImpl(form);
}
+PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsByOriginAndTimeImpl(
+ const url::Origin& origin,
+ base::Time delete_begin,
+ base::Time delete_end) {
+ return GetBackend()->RemoveLoginsByOriginAndTimeImpl(origin, delete_begin,
+ delete_end);
+}
+
PasswordStoreChangeList PasswordStoreProxyMac::RemoveLoginsCreatedBetweenImpl(
base::Time delete_begin,
base::Time delete_end) {

Powered by Google App Engine
This is Rietveld 408576698