| 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 eb7559bc20ae18527d94e21e3001ce05809e8cf6..07ec58845213065ddc06fea05d8c81f0a9c76b5a 100644
|
| --- a/components/dom_distiller/content/dom_distiller_viewer_source.h
|
| +++ b/components/dom_distiller/content/dom_distiller_viewer_source.h
|
| @@ -12,6 +12,7 @@
|
| namespace dom_distiller {
|
|
|
| class DomDistillerService;
|
| +class ViewerHandle;
|
|
|
| // Serves HTML and resources for viewing distilled articles.
|
| class DomDistillerViewerSource : public content::URLDataSource {
|
| @@ -21,6 +22,8 @@ class DomDistillerViewerSource : public content::URLDataSource {
|
| virtual ~DomDistillerViewerSource();
|
|
|
| private:
|
| + class RequestViewerHandle;
|
| +
|
| // Overridden from content::URLDataSource:
|
| virtual std::string GetSource() const OVERRIDE;
|
| virtual void StartDataRequest(
|
| @@ -35,6 +38,10 @@ class DomDistillerViewerSource : public content::URLDataSource {
|
| std::string* path) const OVERRIDE;
|
| virtual std::string GetContentSecurityPolicyObjectSrc() const OVERRIDE;
|
|
|
| + scoped_ptr<ViewerHandle> CreateViewRequest(
|
| + const std::string& path,
|
| + RequestViewerHandle* request_viewer_handle);
|
| +
|
| // The scheme this URLDataSource is hosted under.
|
| std::string scheme_;
|
|
|
|
|