From 785d193d31984698baa94edb17a85267cfe8ff67 Mon Sep 17 00:00:00 2001 From: "kinaba@chromium.org" Date: Thu, 22 Dec 2011 05:45:46 +0000 Subject: Bookmark import from IE preserving the order. This change is to read the order information of IE Favorites from registry and sort the imported bookmarks in that order. If it failed to read the information from registry, it falls back to the current implementation: alphabetical sorting. BUG=4962 TEST=unit_tests --gtest_filter=*Importer* Review URL: http://codereview.chromium.org/8970022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115489 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/importer/profile_writer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/importer/profile_writer.h') diff --git a/chrome/browser/importer/profile_writer.h b/chrome/browser/importer/profile_writer.h index 871858e..a00ea97 100644 --- a/chrome/browser/importer/profile_writer.h +++ b/chrome/browser/importer/profile_writer.h @@ -36,6 +36,7 @@ class ProfileWriter : public base::RefCountedThreadSafe { struct BookmarkEntry { BookmarkEntry(); ~BookmarkEntry(); + bool operator==(const BookmarkEntry& other) const; bool in_toolbar; bool is_folder; -- cgit v1.1