| 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_;
|
|
|
|
|