OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_FAVICON_H_ |
| 6 #define IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_FAVICON_H_ |
| 7 |
| 8 #include "components/dom_distiller/ios/distiller_favicon_ios.h" |
| 9 |
| 10 namespace ios { |
| 11 class WebControllerProvider; |
| 12 } |
| 13 |
| 14 namespace web { |
| 15 class BrowserState; |
| 16 } |
| 17 |
| 18 namespace dom_distiller { |
| 19 |
| 20 class DistillerFavicon : public DistillerFaviconIOS { |
| 21 public: |
| 22 DistillerFavicon(web::BrowserState* browser_state); |
| 23 ~DistillerFavicon(); |
| 24 std::unique_ptr<ios::WebControllerProvider> CreateProvider( |
| 25 const GURL& page_url) override; |
| 26 |
| 27 private: |
| 28 web::BrowserState* browser_state_; |
| 29 }; |
| 30 } |
| 31 |
| 32 #endif // IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_FAVICON_H_ |
OLD | NEW |