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"
18 // ChromeFaviconClient implements the the FaviconClient interface.
19 class ChromeFaviconClient
: public favicon::FaviconClient
{
21 explicit ChromeFaviconClient(Profile
* profile
);
22 ~ChromeFaviconClient() override
;
25 // favicon::FaviconClient implementation:
26 bool IsNativeApplicationURL(const GURL
& url
) override
;
27 base::CancelableTaskTracker::TaskId
GetFaviconForNativeApplicationURL(
29 const std::vector
<int>& desired_sizes_in_pixel
,
30 const favicon_base::FaviconResultsCallback
& callback
,
31 base::CancelableTaskTracker
* tracker
) override
;
35 DISALLOW_COPY_AND_ASSIGN(ChromeFaviconClient
);
38 #endif // CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_