OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |