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

Unified Diff: ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc

Issue 2541093002: DO NOT COMMIT (Closed)
Patch Set: Created 4 years 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 | « ios/chrome/browser/dom_distiller/distiller_favicon_driver.mm ('k') | ios/web/public/favicon_url.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
diff --git a/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc b/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
index 2367b1283b5611de59c520080d8efea42230adb7..89ed5cf1778765002707b4c29a586cc7b8e6d655 100644
--- a/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
+++ b/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
@@ -22,6 +22,7 @@
#include "components/leveldb_proto/proto_database_impl.h"
#include "ios/chrome/browser/browser_state/browser_state_otr_helper.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
+#include "ios/chrome/browser/dom_distiller/distiller_favicon.h"
#include "ios/web/public/browser_state.h"
#include "ios/web/public/web_thread.h"
@@ -90,8 +91,10 @@ DomDistillerServiceFactory::BuildServiceInstanceFor(
std::unique_ptr<DomDistillerStore> dom_distiller_store(
new DomDistillerStore(std::move(db), database_dir));
+ DistillerFaviconIOS* distiller_favicon = new DistillerFavicon(context);
+
std::unique_ptr<DistillerPageFactory> distiller_page_factory(
- new DistillerPageFactoryIOS(context));
+ new DistillerPageFactoryIOS(context, distiller_favicon));
std::unique_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory(
new DistillerURLFetcherFactory(context->GetRequestContext()));
« no previous file with comments | « ios/chrome/browser/dom_distiller/distiller_favicon_driver.mm ('k') | ios/web/public/favicon_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698