1 // Copyright 2015 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_FALLBACK_ICON_CLIENT_H_
6 #define CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_
11 #include "base/macros.h"
12 #include "base/strings/string16.h"
13 #include "components/favicon/core/fallback_icon_client.h"
17 // ChromeFallbackIconClient implements the FallbackIconClient interface.
18 class ChromeFallbackIconClient
: public favicon::FallbackIconClient
{
20 ChromeFallbackIconClient();
21 ~ChromeFallbackIconClient() override
;
23 // FallbackIconClient implementation:
24 const std::vector
<std::string
>& GetFontNameList() const override
;
26 base::string16
GetFallbackIconText(const GURL
& url
) const override
;
29 std::vector
<std::string
> font_list_
;
31 DISALLOW_COPY_AND_ASSIGN(ChromeFallbackIconClient
);
34 #endif // CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_