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

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

Issue 1193143003: Enable import/export of passwords into/from Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed import-complete dialog. Created 4 years, 9 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.h
diff --git a/components/password_manager/core/browser/export/csv_writer.h b/components/password_manager/core/browser/export/csv_writer.h
index 28a304588ecd8ff49d0dbb0b591f5680a6b00bac..c36579fc6af9f5d9b30b22efa8ec08e7671240f4 100644
--- a/components/password_manager/core/browser/export/csv_writer.h
+++ b/components/password_manager/core/browser/export/csv_writer.h
@@ -5,11 +5,10 @@
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_EXPORT_CSV_WRITER_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_EXPORT_CSV_WRITER_H_
-#include <map>
-#include <string>
#include <vector>
#include "base/macros.h"
+#include "components/password_manager/core/browser/types.h"
namespace password_manager {
@@ -27,7 +26,7 @@ namespace password_manager {
// names to values, so they can be output in the right order. All passed in
// strings should be UTF-8 encoded.
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);
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698