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

Unified Diff: trunk/src/chrome/browser/favicon/favicon_handler_unittest.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 | « no previous file | trunk/src/chrome/browser/favicon/favicon_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/favicon/favicon_handler_unittest.cc
===================================================================
--- trunk/src/chrome/browser/favicon/favicon_handler_unittest.cc (revision 281307)
+++ trunk/src/chrome/browser/favicon/favicon_handler_unittest.cc (working copy)
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/favicon/chrome_favicon_client.h"
#include "chrome/browser/favicon/favicon_handler.h"
#include "chrome/browser/favicon/favicon_service.h"
#include "chrome/browser/favicon/favicon_service_factory.h"
@@ -1405,9 +1404,7 @@
}
static KeyedService* BuildFaviconService(content::BrowserContext* profile) {
- FaviconClient* favicon_client =
- new ChromeFaviconClient(static_cast<Profile*>(profile));
- return new FaviconService(static_cast<Profile*>(profile), favicon_client);
+ return new FaviconService(static_cast<Profile*>(profile));
}
static KeyedService* BuildHistoryService(content::BrowserContext* profile) {
« no previous file with comments | « no previous file | trunk/src/chrome/browser/favicon/favicon_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698