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

Unified Diff: components/password_manager/core/browser/password_store.h

Issue 347583004: PasswordStore refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/password_store.h
diff --git a/components/password_manager/core/browser/password_store.h b/components/password_manager/core/browser/password_store.h
index f4fd83ea3b4d2fa8d07b313dc6acee49abd40338..6520f34da4b87a7e315adb20d1210ca65f10b0a4 100644
--- a/components/password_manager/core/browser/password_store.h
+++ b/components/password_manager/core/browser/password_store.h
@@ -77,7 +77,7 @@ class PasswordStore : protected PasswordStoreSync,
explicit GetLoginsRequest(PasswordStoreConsumer* consumer);
virtual ~GetLoginsRequest();
- void set_ignore_logins_cutoff(const base::Time& cutoff) {
+ void set_ignore_logins_cutoff(base::Time cutoff) {
ignore_logins_cutoff_ = cutoff;
}
@@ -139,8 +139,8 @@ class PasswordStore : protected PasswordStoreSync,
virtual void RemoveLogin(const autofill::PasswordForm& form);
// Removes all logins created in the given date range.
- virtual void RemoveLoginsCreatedBetween(const base::Time& delete_begin,
- const base::Time& delete_end);
+ virtual void RemoveLoginsCreatedBetween(base::Time delete_begin,
+ base::Time delete_end);
// Removes all logins synced in the given date range.
virtual void RemoveLoginsSyncedBetween(base::Time delete_begin,
@@ -217,7 +217,8 @@ class PasswordStore : protected PasswordStoreSync,
// Synchronous implementation to remove the given logins.
virtual PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl(
- const base::Time& delete_begin, const base::Time& delete_end) = 0;
+ base::Time delete_begin,
+ base::Time delete_end) = 0;
// Synchronous implementation to remove the given logins.
virtual PasswordStoreChangeList RemoveLoginsSyncedBetweenImpl(

Powered by Google App Engine
This is Rietveld 408576698