Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: components/dom_distiller/ios/favicon_observer_factory.h

Issue 2529283002: Save favicon during reading list distillation (Closed)
Patch Set: Using web state Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698