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

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

Issue 2552263002: Pass InteractionStats by value (Closed)
Patch Set: ={} Created 4 years 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_default.h
diff --git a/components/password_manager/core/browser/password_store_default.h b/components/password_manager/core/browser/password_store_default.h
index 9381067b3d43dd25fd8dfb5b0ffedbcec15c640e..f7e98b1e11e1782a63ea1ebe3f58e88b97c70658 100644
--- a/components/password_manager/core/browser/password_store_default.h
+++ b/components/password_manager/core/browser/password_store_default.h
@@ -72,7 +72,7 @@ class PasswordStoreDefault : public PasswordStore {
std::vector<std::unique_ptr<autofill::PasswordForm>>* forms) override;
void AddSiteStatsImpl(const InteractionsStats& stats) override;
void RemoveSiteStatsImpl(const GURL& origin_domain) override;
- std::vector<std::unique_ptr<InteractionsStats>> GetSiteStatsImpl(
+ std::vector<InteractionsStats> GetSiteStatsImpl(
const GURL& origin_domain) override;
inline bool DeleteAndRecreateDatabaseFile() {

Powered by Google App Engine
This is Rietveld 408576698