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

Unified Diff: components/password_manager/core/browser/mock_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/mock_password_store.cc
diff --git a/components/password_manager/core/browser/mock_password_store.cc b/components/password_manager/core/browser/mock_password_store.cc
index ef0c961e6fc3be54dc35dbecb6d18e78967cee86..b1c2ea92257dc414a81c944f04d28c8401168726 100644
--- a/components/password_manager/core/browser/mock_password_store.cc
+++ b/components/password_manager/core/browser/mock_password_store.cc
@@ -16,15 +16,4 @@ MockPasswordStore::MockPasswordStore()
MockPasswordStore::~MockPasswordStore() {
}
-std::vector<std::unique_ptr<InteractionsStats>>
-MockPasswordStore::GetSiteStatsImpl(const GURL& origin_domain) {
- std::vector<InteractionsStats*> stats = GetSiteStatsMock(origin_domain);
- std::vector<std::unique_ptr<InteractionsStats>> result;
- result.reserve(stats.size());
- for (auto* stat : stats) {
- result.push_back(base::WrapUnique(stat));
- }
- return result;
-}
-
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698