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