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

Unified Diff: chrome/browser/importer/profile_writer.h

Issue 480953002: Implement "Autofill form data" import for Firefox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback (simplify Read method) Created 6 years, 3 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
« no previous file with comments | « chrome/browser/importer/in_process_importer_bridge.cc ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/profile_writer.h
diff --git a/chrome/browser/importer/profile_writer.h b/chrome/browser/importer/profile_writer.h
index 3c036b34dab130d0f751eddc2dd87881bdade87c..6adea3c379d42a433b504bedfb46459fc3e00d5a 100644
--- a/chrome/browser/importer/profile_writer.h
+++ b/chrome/browser/importer/profile_writer.h
@@ -23,6 +23,7 @@ class TemplateURL;
namespace autofill {
struct PasswordForm;
+class AutofillEntry;
}
#if defined(OS_WIN)
@@ -89,6 +90,10 @@ class ProfileWriter : public base::RefCountedThreadSafe<ProfileWriter> {
virtual void AddKeywords(ScopedVector<TemplateURL> template_urls,
bool unique_on_host_and_path);
+ // Adds the imported autofill entries to the autofill database.
+ virtual void AddAutofillFormDataEntries(
+ const std::vector<autofill::AutofillEntry>& autofill_entries);
+
protected:
friend class base::RefCountedThreadSafe<ProfileWriter>;
« no previous file with comments | « chrome/browser/importer/in_process_importer_bridge.cc ('k') | chrome/browser/importer/profile_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698