Index: chrome/browser/dom_distiller/lazy_dom_distiller_service.h |
diff --git a/chrome/browser/dom_distiller/lazy_dom_distiller_service.h b/chrome/browser/dom_distiller/lazy_dom_distiller_service.h |
index d3ed5f4499f6c5e7f6b55ab8a26f785cab18295f..a68a9fa0afcfb6180f3ad3816cae52e88043737e 100644 |
--- a/chrome/browser/dom_distiller/lazy_dom_distiller_service.h |
+++ b/chrome/browser/dom_distiller/lazy_dom_distiller_service.h |
@@ -54,6 +54,7 @@ class LazyDomDistillerService : public DomDistillerServiceInterface, |
scoped_ptr<SourcePageHandle> handle) OVERRIDE; |
virtual void AddObserver(DomDistillerObserver* observer) OVERRIDE; |
virtual void RemoveObserver(DomDistillerObserver* observer) OVERRIDE; |
+ virtual ReaderModePrefs* GetReaderModePrefs() const OVERRIDE; |
private: |
// Accessor method for the backing service instance. |
@@ -71,6 +72,9 @@ class LazyDomDistillerService : public DomDistillerServiceInterface, |
// A BrowserContextKeyedServiceFactory for the DomDistillerService. |
const DomDistillerServiceFactory* service_factory_; |
+ // An instance of ReaderModePrefs for the DomDistillerService. |
+ scoped_ptr<ReaderModePrefs> reader_mode_prefs_; |
nyquist
2014/06/23 16:03:05
Could this be moved to DomDistillerService instead
smaslo
2014/06/23 22:14:32
Done.
|
+ |
// Used to track when the profile is shut down. |
content::NotificationRegistrar registrar_; |