Chromium Code Reviews| Index: ios/chrome/browser/dom_distiller/favicon_observer_factory_impl~.h |
| diff --git a/ios/chrome/browser/dom_distiller/favicon_observer_factory_impl~.h b/ios/chrome/browser/dom_distiller/favicon_observer_factory_impl~.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..331e2a529247c5aae12807fa7c6fd87d5827cbfd |
| --- /dev/null |
| +++ b/ios/chrome/browser/dom_distiller/favicon_observer_factory_impl~.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef IOS_CHROME_BROWSER_DOM_DISTILLER_FAVICON_OBSERVER_FACTORY_IMPL_H_ |
| +#define IOS_CHROME_BROWSER_DOM_DISTILLER_FAVICON_OBSERVER_FACTORY_IMPL_H_ |
| + |
| +#include "components/dom_distiller/ios/favicon_observer_factory.h" |
| + |
| +namespace web { |
| +class BrowserState; |
| +class WebState; |
| +} |
| + |
| +namespace dom_distiller { |
| + |
| +// Implementation of the WebControllerProviderFactory, creating the |
| +// WebControllerProvider with a FaviconDriver as WebObserver, allowing it to |
| +// automatically save the favicons of the loaded pages. |
| +class FaviconObserverFactoryImpl : public FaviconObserverFactory { |
| + public: |
| + void AddFaviconObserver(web::WebState* web_state, |
| + web::BrowserState* browser_state) override; |
| +}; |
| +} |
|
Eugene But (OOO till 7-30)
2016/12/08 15:34:53
// namespace dom_distiller
|
| + |
| +#endif // IOS_CHROME_BROWSER_DOM_DISTILLER_FAVICON_OBSERVER_FACTORY_IMPL_H_ |