| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ |
| 6 #define CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ | 6 #define CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "components/favicon/core/fallback_icon_client.h" | 12 #include "components/favicon/core/fallback_icon_client.h" |
| 13 | 13 |
| 14 class GURL; | |
| 15 | |
| 16 // ChromeFallbackIconClient implements the FallbackIconClient interface. | 14 // ChromeFallbackIconClient implements the FallbackIconClient interface. |
| 17 class ChromeFallbackIconClient : public favicon::FallbackIconClient { | 15 class ChromeFallbackIconClient : public favicon::FallbackIconClient { |
| 18 public: | 16 public: |
| 19 ChromeFallbackIconClient(); | 17 ChromeFallbackIconClient(); |
| 20 ~ChromeFallbackIconClient() override; | 18 ~ChromeFallbackIconClient() override; |
| 21 | 19 |
| 22 // FallbackIconClient implementation: | 20 // FallbackIconClient implementation: |
| 23 const std::vector<std::string>& GetFontNameList() const override; | 21 const std::vector<std::string>& GetFontNameList() const override; |
| 24 | 22 |
| 25 private: | 23 private: |
| 26 std::vector<std::string> font_list_; | 24 std::vector<std::string> font_list_; |
| 27 | 25 |
| 28 DISALLOW_COPY_AND_ASSIGN(ChromeFallbackIconClient); | 26 DISALLOW_COPY_AND_ASSIGN(ChromeFallbackIconClient); |
| 29 }; | 27 }; |
| 30 | 28 |
| 31 #endif // CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ | 29 #endif // CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ |
| OLD | NEW |