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

Unified Diff: chrome/browser/dom_distiller/lazy_dom_distiller_service.h

Issue 341563002: Theme Preferences for Distilled Pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor changes 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
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..e83a132c64f3a05741f34ebf07f3441087f6d674 100644
--- a/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
+++ b/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
@@ -54,7 +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() OVERRIDE;
robliao 2014/06/17 18:01:49 Add linebreak after this line. Also make this met
smaslo 2014/06/17 22:44:07 Done.
private:
// Accessor method for the backing service instance.
DomDistillerServiceInterface* instance() const;
@@ -71,6 +71,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;
robliao 2014/06/17 18:01:49 Add underscore at the end for member variables. h
smaslo 2014/06/17 22:44:07 Done.
+
// Used to track when the profile is shut down.
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698