public:
explicit TestProfileWriter(Profile* profile) : ProfileWriter(profile) {}
protected:
- virtual ~TestProfileWriter() {}
+ ~TestProfileWriter() override {}
};
class ProfileWriterTest : public testing::Test {
: ui_thread_(BrowserThread::UI, &loop_),
file_thread_(BrowserThread::FILE, &loop_) {
}
- virtual ~ProfileWriterTest() {}
+ ~ProfileWriterTest() override {}
// Create test bookmark entries to be added to ProfileWriter to
// simulate bookmark importing.
BookmarkModel* bookmark_model2 =
BookmarkModelFactory::GetForProfile(&profile2);
- test::WaitForBookmarkModelToLoad(bookmark_model2);
+ bookmarks::test::WaitForBookmarkModelToLoad(bookmark_model2);
bookmarks::AddIfNotBookmarked(
bookmark_model2, GURL("http://www.bing.com"), base::ASCIIToUTF16("Bing"));
TestingProfile profile1;
CreateImportedBookmarksEntries();
BookmarkModel* bookmark_model1 =
BookmarkModelFactory::GetForProfile(&profile1);
- test::WaitForBookmarkModelToLoad(bookmark_model1);
+ bookmarks::test::WaitForBookmarkModelToLoad(bookmark_model1);
scoped_refptr<TestProfileWriter> profile_writer(
new TestProfileWriter(&profile1));
CreateImportedBookmarksEntries();
BookmarkModel* bookmark_model =
BookmarkModelFactory::GetForProfile(&profile);
- test::WaitForBookmarkModelToLoad(bookmark_model);
+ bookmarks::test::WaitForBookmarkModelToLoad(bookmark_model);
scoped_refptr<TestProfileWriter> profile_writer(
new TestProfileWriter(&profile));