OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_VIEWER_H_ | 5 #ifndef IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_VIEWER_H_ |
6 #define IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_VIEWER_H_ | 6 #define IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_VIEWER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "components/dom_distiller/core/dom_distiller_request_view_base.h" | 12 #include "components/dom_distiller/core/dom_distiller_request_view_base.h" |
12 #include "components/dom_distiller/core/task_tracker.h" | 13 #include "components/dom_distiller/core/task_tracker.h" |
13 | 14 |
14 class GURL; | 15 class GURL; |
15 | 16 |
16 namespace ios { | 17 namespace ios { |
17 class ChromeBrowserState; | 18 class ChromeBrowserState; |
18 } | 19 } |
19 | 20 |
(...skipping 26 matching lines...) Expand all Loading... |
46 std::string js_buffer_; | 47 std::string js_buffer_; |
47 // Callback to run once distillation is complete. | 48 // Callback to run once distillation is complete. |
48 const DistillationFinishedCallback callback_; | 49 const DistillationFinishedCallback callback_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(DistillerViewer); | 51 DISALLOW_COPY_AND_ASSIGN(DistillerViewer); |
51 }; | 52 }; |
52 | 53 |
53 } // namespace dom_distiller | 54 } // namespace dom_distiller |
54 | 55 |
55 #endif // IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_VIEWER_H_ | 56 #endif // IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_VIEWER_H_ |
OLD | NEW |