Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / favicon / chrome_fallback_icon_client.h
blob601e460f64af7a5218853051fd005b29e3234190
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_
8 #include <string>
9 #include <vector>
11 #include "base/macros.h"
12 #include "base/strings/string16.h"
13 #include "components/favicon/core/fallback_icon_client.h"
15 class GURL;
17 // ChromeFallbackIconClient implements the FallbackIconClient interface.
18 class ChromeFallbackIconClient : public favicon::FallbackIconClient {
19 public:
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;
28 private:
29 std::vector<std::string> font_list_;
31 DISALLOW_COPY_AND_ASSIGN(ChromeFallbackIconClient);
34 #endif // CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_