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

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

Issue 370663002: Revert 281304 "Pass an instance of FaviconClient to FaviconService." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | « trunk/src/chrome/browser/history/android/sqlite_cursor_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/base/testing_profile.cc
===================================================================
--- trunk/src/chrome/test/base/testing_profile.cc (revision 281307)
+++ trunk/src/chrome/test/base/testing_profile.cc (working copy)
@@ -22,7 +22,6 @@
#include "chrome/browser/extensions/extension_special_storage_policy.h"
#include "chrome/browser/extensions/extension_system_factory.h"
#include "chrome/browser/extensions/test_extension_system.h"
-#include "chrome/browser/favicon/chrome_favicon_client_factory.h"
#include "chrome/browser/favicon/favicon_service.h"
#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/history/chrome_history_client.h"
@@ -427,9 +426,7 @@
}
static KeyedService* BuildFaviconService(content::BrowserContext* profile) {
- FaviconClient* favicon_client =
- ChromeFaviconClientFactory::GetForProfile(static_cast<Profile*>(profile));
- return new FaviconService(static_cast<Profile*>(profile), favicon_client);
+ return new FaviconService(static_cast<Profile*>(profile));
}
void TestingProfile::CreateFaviconService() {
« no previous file with comments | « trunk/src/chrome/browser/history/android/sqlite_cursor_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698