Index: components/dom_distiller/ios/favicon_observer_factory.h |
diff --git a/components/dom_distiller/ios/favicon_observer_factory.h b/components/dom_distiller/ios/favicon_observer_factory.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7197383ce2f2c0f14e807ccd64709a8634549bd5 |
--- /dev/null |
+++ b/components/dom_distiller/ios/favicon_observer_factory.h |
@@ -0,0 +1,24 @@ |
+// 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 COMPONENTS_DOM_DISTILLER_IOS_FAVICON_OBSERVER_FACTORY_H_ |
+#define COMPONENTS_DOM_DISTILLER_IOS_FAVICON_OBSERVER_FACTORY_H_ |
+ |
+namespace web { |
+class BrowserState; |
+class WebState; |
+} |
+ |
+namespace dom_distiller { |
+ |
+// Factory to add a favicon observer to a web state. |
+class FaviconObserverFactory { |
+ public: |
+ virtual void AddFaviconObserver(web::WebState* web_state, |
Eugene But (OOO till 7-30)
2016/12/08 15:34:53
Please add comments
|
+ web::BrowserState* browser_state) = 0; |
+}; |
+ |
+} // namespace dom_distiller |
+ |
+#endif // COMPONENTS_DOM_DISTILLER_IOS_FAVICON_OBSERVER_FACTORY_H_ |