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

Unified Diff: components/password_manager/core/browser/fake_form_fetcher.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/fake_form_fetcher.cc
diff --git a/components/password_manager/core/browser/fake_form_fetcher.cc b/components/password_manager/core/browser/fake_form_fetcher.cc
index a25c93bdf15d4edc905727238075a13a2068749f..3f0ca14b1f822801824dbbf18c519e1618814f6b 100644
--- a/components/password_manager/core/browser/fake_form_fetcher.cc
+++ b/components/password_manager/core/browser/fake_form_fetcher.cc
@@ -23,8 +23,8 @@ FormFetcher::State FakeFormFetcher::GetState() const {
return state_;
}
-const std::vector<const InteractionsStats*>&
-FakeFormFetcher::GetInteractionsStats() const {
+const std::vector<InteractionsStats>& FakeFormFetcher::GetInteractionsStats()
+ const {
return stats_;
}
« no previous file with comments | « components/password_manager/core/browser/fake_form_fetcher.h ('k') | components/password_manager/core/browser/form_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698