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

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

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.cc
diff --git a/components/password_manager/core/browser/password_store.cc b/components/password_manager/core/browser/password_store.cc
index 32a15972461e7327539027369d2741689b957382..b5a8a13605cf2539709359b5c94c38420fd84480 100644
--- a/components/password_manager/core/browser/password_store.cc
+++ b/components/password_manager/core/browser/password_store.cc
@@ -53,7 +53,7 @@ void PasswordStore::GetLoginsRequest::NotifyConsumerWithResults(
}
void PasswordStore::GetLoginsRequest::NotifyWithSiteStatistics(
- std::vector<std::unique_ptr<InteractionsStats>> stats) {
+ std::vector<InteractionsStats> stats) {
origin_task_runner_->PostTask(
FROM_HERE, base::Bind(&PasswordStoreConsumer::OnGetSiteStatistics,
consumer_weak_, base::Passed(&stats)));

Powered by Google App Engine
This is Rietveld 408576698