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

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: Rebase from upstream 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..c509b5ff51e0fb8b74c7c269c6af26c694f5d8e0 100644
--- a/chrome/browser/password_manager/password_store_proxy_mac.cc
+++ b/chrome/browser/password_manager/password_store_proxy_mac.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <string>
vasilii 2015/11/23 15:04:56 Remove
Timo Reimann 2015/11/24 02:36:09 Again, a cpplint fix for a pre-existing issue.
vasilii 2015/11/24 18:14:54 The class header should always be the first includ
Timo Reimann 2015/11/24 23:06:02 Reordered.
+
#include "chrome/browser/password_manager/password_store_proxy_mac.h"
#include "base/metrics/histogram_macros.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