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

Unified Diff: components/dom_distiller/content/dom_distiller_viewer_source.h

Issue 341563002: Theme Preferences for Distilled Pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implmented CSS Classes, rebased CSS, added Javascript for instantaneous 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: components/dom_distiller/content/dom_distiller_viewer_source.h
diff --git a/components/dom_distiller/content/dom_distiller_viewer_source.h b/components/dom_distiller/content/dom_distiller_viewer_source.h
index 3f579a18a4f972502cb0deb49313667507c81865..e32cfa9d4fd595985b51201dab453ae510c32bc3 100644
--- a/components/dom_distiller/content/dom_distiller_viewer_source.h
+++ b/components/dom_distiller/content/dom_distiller_viewer_source.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "components/dom_distiller/core/reader_mode_preferences.h"
nyquist 2014/06/26 20:39:58 Remove.
smaslo 2014/06/27 18:33:17 Done.
#include "content/public/browser/url_data_source.h"
namespace dom_distiller {
@@ -19,7 +20,8 @@ class ViewerHandle;
class ViewRequestDelegate;
// Serves HTML and resources for viewing distilled articles.
-class DomDistillerViewerSource : public content::URLDataSource {
+class DomDistillerViewerSource
+ : public content::URLDataSource {
nyquist 2014/06/26 20:39:58 Could this be on one line?
smaslo 2014/06/27 18:33:17 Done.
public:
DomDistillerViewerSource(DomDistillerServiceInterface* dom_distiller_service,
const std::string& scheme);
@@ -41,6 +43,7 @@ class DomDistillerViewerSource : public content::URLDataSource {
std::string* path) const OVERRIDE;
virtual std::string GetContentSecurityPolicyObjectSrc() const OVERRIDE;
+
nyquist 2014/06/26 20:39:58 Is this needed?
smaslo 2014/06/27 18:33:17 Done.
private:
friend class DomDistillerViewerSourceTest;

Powered by Google App Engine
This is Rietveld 408576698