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

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

Issue 6979007: Many fixes to bookmark importing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Happy tests =) Created 9 years, 7 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/profile_writer.cc ('k') | chrome/browser/importer/safari_importer.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/safari_importer.h
diff --git a/chrome/browser/importer/safari_importer.h b/chrome/browser/importer/safari_importer.h
index 47dfd9299100a6773a06744e9f12041adde7c60a..2c34bc57f62641e13dd1d2ffd683320e9f271ae2 100644
--- a/chrome/browser/importer/safari_importer.h
+++ b/chrome/browser/importer/safari_importer.h
@@ -72,7 +72,8 @@ class SafariImporter : public Importer {
void ImportHistory();
// Parse Safari's stored bookmarks.
- void ParseBookmarks(std::vector<ProfileWriter::BookmarkEntry>* bookmarks);
+ void ParseBookmarks(const string16& toolbar_name,
+ std::vector<ProfileWriter::BookmarkEntry>* bookmarks);
// Function to recursively read Bookmarks out of Safari plist.
// |bookmark_folder| The dictionary containing a folder to parse.
@@ -83,6 +84,7 @@ class SafariImporter : public Importer {
NSDictionary* bookmark_folder,
const std::vector<string16>& parent_path_elements,
bool is_in_toolbar,
+ const string16& toolbar_name,
std::vector<ProfileWriter::BookmarkEntry>* out_bookmarks);
// Converts history time stored by Safari as a double serialized as a string,
« no previous file with comments | « chrome/browser/importer/profile_writer.cc ('k') | chrome/browser/importer/safari_importer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698