| Index: chrome/browser/importer/importer_unittest.cc
|
| diff --git a/chrome/browser/importer/importer_unittest.cc b/chrome/browser/importer/importer_unittest.cc
|
| index 424f21eb1c33dffa70012b5fcd4d1c05a89c91e2..ae02f201546d5f07fc1bc0bae774b758c198e558 100644
|
| --- a/chrome/browser/importer/importer_unittest.cc
|
| +++ b/chrome/browser/importer/importer_unittest.cc
|
| @@ -238,12 +238,11 @@ class TestObserver : public ProfileWriter,
|
| EXPECT_EQ(history::SOURCE_IE_IMPORTED, visit_source);
|
| }
|
|
|
| - virtual void AddBookmarks(const std::vector<BookmarkEntry>& bookmark,
|
| - const string16& first_folder_name,
|
| - int options) OVERRIDE {
|
| + virtual void AddBookmarks(const std::vector<BookmarkEntry>& bookmarks,
|
| + const string16& top_level_folder_name) OVERRIDE {
|
| // Importer should import the IE Favorites folder the same as the list.
|
| - for (size_t i = 0; i < bookmark.size(); ++i) {
|
| - if (FindBookmarkEntry(bookmark[i], kIEBookmarks,
|
| + for (size_t i = 0; i < bookmarks.size(); ++i) {
|
| + if (FindBookmarkEntry(bookmarks[i], kIEBookmarks,
|
| arraysize(kIEBookmarks)))
|
| ++bookmark_count_;
|
| }
|
| @@ -604,11 +603,10 @@ class FirefoxObserver : public ProfileWriter,
|
| ++history_count_;
|
| }
|
|
|
| - virtual void AddBookmarks(const std::vector<BookmarkEntry>& bookmark,
|
| - const string16& first_folder_name,
|
| - int options) OVERRIDE {
|
| - for (size_t i = 0; i < bookmark.size(); ++i) {
|
| - if (FindBookmarkEntry(bookmark[i], kFirefox2Bookmarks,
|
| + virtual void AddBookmarks(const std::vector<BookmarkEntry>& bookmarks,
|
| + const string16& top_level_folder_name) OVERRIDE {
|
| + for (size_t i = 0; i < bookmarks.size(); ++i) {
|
| + if (FindBookmarkEntry(bookmarks[i], kFirefox2Bookmarks,
|
| arraysize(kFirefox2Bookmarks)))
|
| ++bookmark_count_;
|
| }
|
| @@ -814,11 +812,10 @@ class Firefox3Observer : public ProfileWriter,
|
| ++history_count_;
|
| }
|
|
|
| - virtual void AddBookmarks(const std::vector<BookmarkEntry>& bookmark,
|
| - const string16& first_folder_name,
|
| - int options) OVERRIDE {
|
| - for (size_t i = 0; i < bookmark.size(); ++i) {
|
| - if (FindBookmarkEntry(bookmark[i], kFirefox3Bookmarks,
|
| + virtual void AddBookmarks(const std::vector<BookmarkEntry>& bookmarks,
|
| + const string16& top_level_folder_name) OVERRIDE {
|
| + for (size_t i = 0; i < bookmarks.size(); ++i) {
|
| + if (FindBookmarkEntry(bookmarks[i], kFirefox3Bookmarks,
|
| arraysize(kFirefox3Bookmarks)))
|
| ++bookmark_count_;
|
| }
|
|
|