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

Side by Side Diff: chrome/utility/importer/firefox_importer.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_H_ 5 #ifndef CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_H_
6 #define CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_H_ 6 #define CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 28 matching lines...) Expand all
39 39
40 virtual ~FirefoxImporter(); 40 virtual ~FirefoxImporter();
41 41
42 void ImportBookmarks(); 42 void ImportBookmarks();
43 void ImportPasswords(); 43 void ImportPasswords();
44 void ImportHistory(); 44 void ImportHistory();
45 void ImportSearchEngines(); 45 void ImportSearchEngines();
46 // Import the user's home page, unless it is set to default home page as 46 // Import the user's home page, unless it is set to default home page as
47 // defined in browserconfig.properties. 47 // defined in browserconfig.properties.
48 void ImportHomepage(); 48 void ImportHomepage();
49 void ImportAutofillFormData();
49 void GetSearchEnginesXMLData(std::vector<std::string>* search_engine_data); 50 void GetSearchEnginesXMLData(std::vector<std::string>* search_engine_data);
50 void GetSearchEnginesXMLDataFromJSON( 51 void GetSearchEnginesXMLDataFromJSON(
51 std::vector<std::string>* search_engine_data); 52 std::vector<std::string>* search_engine_data);
52 53
53 // The struct stores the information about a bookmark item. 54 // The struct stores the information about a bookmark item.
54 struct BookmarkItem; 55 struct BookmarkItem;
55 typedef std::vector<BookmarkItem*> BookmarkList; 56 typedef std::vector<BookmarkItem*> BookmarkList;
56 57
57 // Gets the specific IDs of bookmark root node from |db|. 58 // Gets the specific IDs of bookmark root node from |db|.
58 void LoadRootNodeID(sql::Connection* db, int* toolbar_folder_id, 59 void LoadRootNodeID(sql::Connection* db, int* toolbar_folder_id,
(...skipping 23 matching lines...) Expand all
82 83
83 #if defined(OS_POSIX) 84 #if defined(OS_POSIX)
84 // Stored because we can only access it from the UI thread. 85 // Stored because we can only access it from the UI thread.
85 std::string locale_; 86 std::string locale_;
86 #endif 87 #endif
87 88
88 DISALLOW_COPY_AND_ASSIGN(FirefoxImporter); 89 DISALLOW_COPY_AND_ASSIGN(FirefoxImporter);
89 }; 90 };
90 91
91 #endif // CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_H_ 92 #endif // CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_H_
OLDNEW
« no previous file with comments | « chrome/utility/importer/external_process_importer_bridge.cc ('k') | chrome/utility/importer/firefox_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698