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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 845013002: Remove TopSites notification in favor of Observers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing typo causing compilation issues on win Created 5 years, 11 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/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 00ac8085dedee678d273767041cb4a2a99717cb0..1292188c44f3577e98c6fbee3b73df5aaf8865e8 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -223,9 +223,7 @@ KeyedService* BuildChromeBookmarkClient(
KeyedService* BuildChromeHistoryClient(
content::BrowserContext* context) {
Profile* profile = static_cast<Profile*>(context);
- return new ChromeHistoryClient(BookmarkModelFactory::GetForProfile(profile),
- profile,
- profile->GetTopSites());
+ return new ChromeHistoryClient(BookmarkModelFactory::GetForProfile(profile));
}
void TestProfileErrorCallback(WebDataServiceWrapper::ErrorType error_type,

Powered by Google App Engine
This is Rietveld 408576698