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

Unified Diff: components/password_manager/core/browser/export/csv_writer.cc

Issue 1193143003: Enable import/export of passwords into/from Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add finch switch and address comments Created 5 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/export/csv_writer.cc
diff --git a/components/password_manager/core/browser/export/csv_writer.cc b/components/password_manager/core/browser/export/csv_writer.cc
index f45683f344bfcfb461a85d21ac5dacab108e1658..a0f2da7afe6b0d1d43ce2f521294556c6cb4c527 100644
--- a/components/password_manager/core/browser/export/csv_writer.cc
+++ b/components/password_manager/core/browser/export/csv_writer.cc
@@ -65,7 +65,7 @@ void CSVFormatter::EndLine() {
namespace password_manager {
void WriteCSV(const std::vector<std::string>& column_names,
- const std::vector<std::map<std::string, std::string>>& records,
+ const std::vector<ColumnNameToValueMap>& records,
std::string* csv) {
DCHECK(csv);
csv->clear();

Powered by Google App Engine
This is Rietveld 408576698