| Index: chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
| diff --git a/chrome/browser/dom_distiller/dom_distiller_service_factory.cc b/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
| index 92ae35ceec86b812e3007f05474a3b72f5d6441a..acee37daae9c40daa5416fad3168d9d34a1ca17b 100644
|
| --- a/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
| +++ b/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
| @@ -62,9 +62,15 @@ KeyedService* DomDistillerServiceFactory::BuildServiceInstanceFor(
|
| new DistillerPageWebContentsFactory(profile));
|
| scoped_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory(
|
| new DistillerURLFetcherFactory(profile->GetRequestContext()));
|
| +
|
| + dom_distiller::proto::DomDistillerOptions options;
|
| + if (VLOG_IS_ON(1)) {
|
| + options.set_debug_level(
|
| + logging::GetVlogLevelHelper(FROM_HERE.file_name(),
|
| + ::strlen(FROM_HERE.file_name())));
|
| + }
|
| scoped_ptr<DistillerFactory> distiller_factory(
|
| - new DistillerFactoryImpl(distiller_url_fetcher_factory.Pass(),
|
| - dom_distiller::proto::DomDistillerOptions()));
|
| + new DistillerFactoryImpl(distiller_url_fetcher_factory.Pass(), options));
|
|
|
| DomDistillerContextKeyedService* service =
|
| new DomDistillerContextKeyedService(
|
|
|