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

Unified Diff: chrome/browser/importer/importer_unittest.cc

Issue 7056033: Style cleanup in bookmarks import code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit 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/importer_bridge.h ('k') | chrome/browser/importer/in_process_importer_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer_unittest.cc
diff --git a/chrome/browser/importer/importer_unittest.cc b/chrome/browser/importer/importer_unittest.cc
index 6764ef62d29c79ea14eaa1c1304f789706e83e4d..424f21eb1c33dffa70012b5fcd4d1c05a89c91e2 100644
--- a/chrome/browser/importer/importer_unittest.cc
+++ b/chrome/browser/importer/importer_unittest.cc
@@ -238,9 +238,9 @@ class TestObserver : public ProfileWriter,
EXPECT_EQ(history::SOURCE_IE_IMPORTED, visit_source);
}
- virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark,
- const string16& first_folder_name,
- int options) {
+ virtual void AddBookmarks(const std::vector<BookmarkEntry>& bookmark,
+ const string16& first_folder_name,
+ int options) 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,
@@ -604,9 +604,9 @@ class FirefoxObserver : public ProfileWriter,
++history_count_;
}
- virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark,
- const string16& first_folder_name,
- int options) {
+ 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,
arraysize(kFirefox2Bookmarks)))
@@ -814,9 +814,9 @@ class Firefox3Observer : public ProfileWriter,
++history_count_;
}
- virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark,
- const string16& first_folder_name,
- int options) {
+ 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,
arraysize(kFirefox3Bookmarks)))
« no previous file with comments | « chrome/browser/importer/importer_bridge.h ('k') | chrome/browser/importer/in_process_importer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698