Add ICU message format support
[chromium-blink-merge.git] / chrome / browser / favicon / chrome_favicon_client.h
blob3de4c72b9a23b22fdc0ab8ba5fd42ab0d9b7d7af
1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_
6 #define CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_
8 #include "base/macros.h"
9 #include "components/favicon/core/favicon_client.h"
11 class GURL;
12 class Profile;
14 namespace bookmarks {
15 class BookmarkModel;
18 // ChromeFaviconClient implements the the FaviconClient interface.
19 class ChromeFaviconClient : public favicon::FaviconClient {
20 public:
21 explicit ChromeFaviconClient(Profile* profile);
22 ~ChromeFaviconClient() override;
24 private:
25 // favicon::FaviconClient implementation:
26 bool IsNativeApplicationURL(const GURL& url) override;
27 base::CancelableTaskTracker::TaskId GetFaviconForNativeApplicationURL(
28 const GURL& url,
29 const std::vector<int>& desired_sizes_in_pixel,
30 const favicon_base::FaviconResultsCallback& callback,
31 base::CancelableTaskTracker* tracker) override;
33 Profile* profile_;
35 DISALLOW_COPY_AND_ASSIGN(ChromeFaviconClient);
38 #endif // CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_