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

Side by Side Diff: components/dom_distiller/content/dom_distiller_viewer_source.h

Issue 178303004: Add incremental updates for multipage distillation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ 6 #define COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_
7 7
8 #include <string>
9
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
10 #include "content/public/browser/url_data_source.h" 12 #include "content/public/browser/url_data_source.h"
11 13
12 namespace dom_distiller { 14 namespace dom_distiller {
13 15
14 class DomDistillerService; 16 class DomDistillerService;
15 17
16 // Serves HTML and resources for viewing distilled articles. 18 // Serves HTML and resources for viewing distilled articles.
17 class DomDistillerViewerSource : public content::URLDataSource { 19 class DomDistillerViewerSource : public content::URLDataSource {
(...skipping 23 matching lines...) Expand all
41 // The service which contains all the functionality needed to interact with 43 // The service which contains all the functionality needed to interact with
42 // the list of articles. 44 // the list of articles.
43 DomDistillerService* dom_distiller_service_; 45 DomDistillerService* dom_distiller_service_;
44 46
45 DISALLOW_COPY_AND_ASSIGN(DomDistillerViewerSource); 47 DISALLOW_COPY_AND_ASSIGN(DomDistillerViewerSource);
46 }; 48 };
47 49
48 } // namespace dom_distiller 50 } // namespace dom_distiller
49 51
50 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ 52 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698