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

Side by Side Diff: ios/chrome/browser/dom_distiller/distiller_favicon_driver.h

Issue 2541093002: DO NOT COMMIT (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_FAVICON_DRIVER_H_
6 #define IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_FAVICON_DRIVER_H_
7
8 #include "components/favicon/ios/web_favicon_driver.h"
9
10 class DistillerFaviconDriver : public favicon::WebFaviconDriver {
11 public:
12 static void CreateForWebState(web::WebState* web_state,
13 favicon::FaviconService* favicon_service,
14 history::HistoryService* history_service,
15 bookmarks::BookmarkModel* bookmark_model,
16 const GURL& page_url);
17
18 // web::WebStateObserver implementation.
19 void FaviconUrlUpdated(
20 const std::vector<web::FaviconURL>& candidates) override;
21
22 private:
23 friend class web::WebStateUserData<DistillerFaviconDriver>;
24
25 DistillerFaviconDriver(web::WebState* web_state,
26 favicon::FaviconService* favicon_service,
27 history::HistoryService* history_service,
28 bookmarks::BookmarkModel* bookmark_model,
29 const GURL& page_url);
30 ~DistillerFaviconDriver() override;
31
32 GURL url_;
33 };
34
35 #endif // IOS_CHROME_BROWSER_DOM_DISTILLER_DISTILLER_FAVICON_DRIVER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/dom_distiller/distiller_favicon.mm ('k') | ios/chrome/browser/dom_distiller/distiller_favicon_driver.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698