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

Unified Diff: ios/chrome/browser/dom_distiller/distiller_favicon.h

Issue 2529283002: Save favicon during reading list distillation (Closed)
Patch Set: Add a comment Created 4 years, 1 month 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: ios/chrome/browser/dom_distiller/distiller_favicon.h
diff --git a/ios/chrome/browser/dom_distiller/distiller_favicon.h b/ios/chrome/browser/dom_distiller/distiller_favicon.h
new file mode 100644
index 0000000000000000000000000000000000000000..67a4df43a0fb5f0c1d2e72b26a07974ca4fc969c
--- /dev/null
+++ b/ios/chrome/browser/dom_distiller/distiller_favicon.h
@@ -0,0 +1,28 @@
+// 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_DISTILLER_FAVICON_H_
+#define IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_FAVICON_H_
+
+#include "components/dom_distiller/ios/distiller_favicon_ios.h"
+
+namespace web {
+class BrowserState;
+}
+
+namespace dom_distiller {
+
+class DistillerFavicon : public DistillerFaviconIOS {
kkhorimoto 2016/11/28 23:48:25 Add class comments
+ public:
+ void HandleFaviconURL(std::vector<web::FaviconURL> urls,
+ const GURL& page_url) override;
+ DistillerFavicon(web::BrowserState* browser_state);
+ ~DistillerFavicon();
+
+ private:
+ web::BrowserState* browser_state_;
+};
+}
+
+#endif // IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_FAVICON_H_

Powered by Google App Engine
This is Rietveld 408576698