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

Unified Diff: chrome/browser/bookmarks/bookmark_html_writer_unittest.cc

Issue 6651014: Applied the IconType. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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
Index: chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
diff --git a/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc b/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
index e7b2a6cf55f0f817b3e3df232beb8a0670c0f7df..bcdc52828cd79cb8276603b792cfada2959bab2d 100644
--- a/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
+++ b/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
@@ -196,9 +196,11 @@ TEST_F(BookmarkHTMLWriterTest, Test) {
model->AddURLWithCreationTime(f1, 0, url1_title, url1, t1);
profile.GetHistoryService(Profile::EXPLICIT_ACCESS)->AddPage(url1,
history::SOURCE_BROWSED);
- profile.GetFaviconService(Profile::EXPLICIT_ACCESS)->SetFavicon(url1,
- url1_favicon,
- icon_data);
+ profile.GetFaviconService(Profile::EXPLICIT_ACCESS)->SetFavicon(
+ url1,
+ url1_favicon,
+ icon_data,
+ history::FAV_ICON);
message_loop.RunAllPending();
const BookmarkNode* f2 = model->AddGroup(f1, 1, f2_title);
model->AddURLWithCreationTime(f2, 0, url2_title, url2, t2);
@@ -220,9 +222,11 @@ TEST_F(BookmarkHTMLWriterTest, Test) {
// Clear favicon so that it would be read from file.
std::vector<unsigned char> empty_data;
- profile.GetFaviconService(Profile::EXPLICIT_ACCESS)->SetFavicon(url1,
- url1_favicon,
- empty_data);
+ profile.GetFaviconService(Profile::EXPLICIT_ACCESS)->SetFavicon(
+ url1,
+ url1_favicon,
+ empty_data,
+ history::FAV_ICON);
message_loop.RunAllPending();
// Read the bookmarks back in.

Powered by Google App Engine
This is Rietveld 408576698