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

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

Issue 235833003: Move helper utilities for the DOM Distiller Viewer to core. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed iOS grit whitelist Created 6 years, 8 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 95513db0234dbd6c1370e28ad8ad167836f2fe4c..3f579a18a4f972502cb0deb49313667507c81865 100644
--- a/components/dom_distiller/content/dom_distiller_viewer_source.h
+++ b/components/dom_distiller/content/dom_distiller_viewer_source.h
@@ -35,8 +35,8 @@ class DomDistillerViewerSource : public content::URLDataSource {
int render_frame_id,
const content::URLDataSource::GotDataCallback& callback) OVERRIDE;
virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
- virtual bool ShouldServiceRequest(const net::URLRequest* request) const
- OVERRIDE;
+ virtual bool ShouldServiceRequest(
+ const net::URLRequest* request) const OVERRIDE;
virtual void WillServiceRequest(const net::URLRequest* request,
std::string* path) const OVERRIDE;
virtual std::string GetContentSecurityPolicyObjectSrc() const OVERRIDE;
@@ -44,12 +44,6 @@ class DomDistillerViewerSource : public content::URLDataSource {
private:
friend class DomDistillerViewerSourceTest;
- // Based on the given path, calls into the DomDistillerServiceInterface for
- // viewing distilled content based on the |path|.
- scoped_ptr<ViewerHandle> CreateViewRequest(
- const std::string& path,
- ViewRequestDelegate* view_request_delegate);
-
// The scheme this URLDataSource is hosted under.
std::string scheme_;
« no previous file with comments | « components/dom_distiller/content/DEPS ('k') | components/dom_distiller/content/dom_distiller_viewer_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698