Chromium Code Reviews| 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_FAVICON_OBSERVER_FACTORY_IMPL_H_ | |
| 6 #define IOS_CHROME_BROWSER_DOM_DISTILLER_FAVICON_OBSERVER_FACTORY_IMPL_H_ | |
| 7 | |
| 8 #include "components/dom_distiller/ios/favicon_observer_factory.h" | |
| 9 | |
| 10 namespace web { | |
| 11 class BrowserState; | |
| 12 class WebState; | |
| 13 } | |
| 14 | |
| 15 namespace dom_distiller { | |
| 16 | |
| 17 // Implementation of the WebControllerProviderFactory, creating the | |
| 18 // WebControllerProvider with a FaviconDriver as WebObserver, allowing it to | |
| 19 // automatically save the favicons of the loaded pages. | |
| 20 class FaviconObserverFactoryImpl : public FaviconObserverFactory { | |
| 21 public: | |
| 22 void AddFaviconObserver(web::WebState* web_state, | |
| 23 web::BrowserState* browser_state) override; | |
| 24 }; | |
| 25 } | |
|
Eugene But (OOO till 7-30)
2016/12/08 15:34:53
// namespace dom_distiller
| |
| 26 | |
| 27 #endif // IOS_CHROME_BROWSER_DOM_DISTILLER_FAVICON_OBSERVER_FACTORY_IMPL_H_ | |
| OLD | NEW |