summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/profile_writer.h
diff options
context:
space:
mode:
authorkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-22 05:45:46 +0000
committerkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-22 05:45:46 +0000
commit785d193d31984698baa94edb17a85267cfe8ff67 (patch)
tree2d4c5e49ead415626d1dbd655d6bae6fdf6597c6 /chrome/browser/importer/profile_writer.h
parentd950c0f4ad3fe60a788c38d5c867a194a7e11ecf (diff)
downloadchromium_src-785d193d31984698baa94edb17a85267cfe8ff67.zip
chromium_src-785d193d31984698baa94edb17a85267cfe8ff67.tar.gz
chromium_src-785d193d31984698baa94edb17a85267cfe8ff67.tar.bz2
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
Diffstat (limited to 'chrome/browser/importer/profile_writer.h')
-rw-r--r--chrome/browser/importer/profile_writer.h1
1 files changed, 1 insertions, 0 deletions
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<ProfileWriter> {
struct BookmarkEntry {
BookmarkEntry();
~BookmarkEntry();
+ bool operator==(const BookmarkEntry& other) const;
bool in_toolbar;
bool is_folder;