| OLD | NEW |
| 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_IOS_DISTILLER_PAGE_IOS_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_ |
| 6 #define COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_ | 6 #define COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <objc/objc.h> |
| 9 #include <string> | 10 #include <string> |
| 10 | 11 |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "components/dom_distiller/core/distiller_page.h" | 13 #include "components/dom_distiller/core/distiller_page.h" |
| 13 #include "ios/web/public/web_state/web_state_observer.h" | 14 #include "ios/web/public/web_state/web_state_observer.h" |
| 14 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 15 | 16 |
| 16 namespace web { | 17 namespace web { |
| 17 class BrowserState; | 18 class BrowserState; |
| 18 class WebState; | 19 class WebState; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 std::string script_; | 61 std::string script_; |
| 61 web::BrowserState* browser_state_; | 62 web::BrowserState* browser_state_; |
| 62 std::unique_ptr<web::WebState> web_state_; | 63 std::unique_ptr<web::WebState> web_state_; |
| 63 std::unique_ptr<DistillerWebStateObserver> web_state_observer_; | 64 std::unique_ptr<DistillerWebStateObserver> web_state_observer_; |
| 64 base::WeakPtrFactory<DistillerPageIOS> weak_ptr_factory_; | 65 base::WeakPtrFactory<DistillerPageIOS> weak_ptr_factory_; |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace dom_distiller | 68 } // namespace dom_distiller |
| 68 | 69 |
| 69 #endif // COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_ | 70 #endif // COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_IOS_H_ |
| OLD | NEW |