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..7205f7e91e756c29c33f3e39fac6ff51a0c03ff5 |
--- /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 FaviconObserverFactory, adding a favicon driver to a |
+// WebState, allowing it to save the favicon of the page loaded with this |
+// WebState. |
+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
gambard
2016/12/12 15:04:26
Done.
|
+ |
+#endif // IOS_CHROME_BROWSER_DOM_DISTILLER_FAVICON_OBSERVER_FACTORY_IMPL_H_ |