Index: chrome/browser/password_manager/native_backend_kwallet_x.h |
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.h b/chrome/browser/password_manager/native_backend_kwallet_x.h |
index 2567ba0e5e01d1a77250d7186daad6c27eab39f2..ff08093da730f79dda147dee495354ae6e9b594c 100644 |
--- a/chrome/browser/password_manager/native_backend_kwallet_x.h |
+++ b/chrome/browser/password_manager/native_backend_kwallet_x.h |
@@ -46,12 +46,15 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend { |
const autofill::PasswordForm& form, |
password_manager::PasswordStoreChangeList* changes) OVERRIDE; |
virtual bool RemoveLogin(const autofill::PasswordForm& form) OVERRIDE; |
- virtual bool RemoveLoginsCreatedBetween( |
- const base::Time& delete_begin, const base::Time& delete_end) OVERRIDE; |
+ virtual bool RemoveLoginsCreatedBetween(base::Time delete_begin, |
+ base::Time delete_end) OVERRIDE; |
+ virtual bool RemoveLoginsSyncedBetween( |
+ base::Time delete_begin, |
+ base::Time delete_end, |
+ password_manager::PasswordStoreChangeList* changes) OVERRIDE; |
virtual bool GetLogins(const autofill::PasswordForm& form, |
PasswordFormList* forms) OVERRIDE; |
- virtual bool GetLoginsCreatedBetween(const base::Time& get_begin, |
- const base::Time& get_end, |
+ virtual bool GetLoginsCreatedBetween(base::Time get_begin, base::Time get_end, |
PasswordFormList* forms) OVERRIDE; |
virtual bool GetAutofillableLogins(PasswordFormList* forms) OVERRIDE; |
virtual bool GetBlacklistLogins(PasswordFormList* forms) OVERRIDE; |
@@ -92,11 +95,12 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend { |
bool autofillable, |
int wallet_handle); |
- // Reads PasswordForms from the wallet created in the given time range. |
+ // Reads PasswordForms from the wallet created/synced in the given time range. |
bool GetLoginsList(PasswordFormList* forms, |
const base::Time& begin, |
const base::Time& end, |
- int wallet_handle); |
+ int wallet_handle, |
+ bool date_is_creation); |
// Helper for some of the above GetLoginsList() methods. |
bool GetAllLogins(PasswordFormList* forms, int wallet_handle); |
@@ -108,6 +112,10 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend { |
const std::string& signon_realm, |
int wallet_handle); |
+ bool RemoveLoginsBetween(base::Time delete_begin, base::Time delete_end, |
+ bool date_is_creation, |
+ password_manager::PasswordStoreChangeList* changes); |
+ |
// Opens the wallet and ensures that the "Chrome Form Data" folder exists. |
// Returns kInvalidWalletHandle on error. |
int WalletHandle(); |