OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ | |
6 #define CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ | |
7 | |
8 #include "components/favicon/core/browser/fallback_icon_client.h" | |
9 | |
10 #include <string> | |
11 #include <vector> | |
12 | |
13 #include "base/macros.h" | |
14 | |
15 class GURL; | |
16 class Profile; | |
17 | |
18 namespace favicon_base { | |
19 class FallbackIconService; | |
20 } // namespace favicon_base | |
21 | |
22 // ChromeFallbackIconClient implements the the FallbackIconClient interface. | |
sdefresne
2015/03/17 09:41:52
nit: s/the the/the/
huangs
2015/03/23 03:28:34
Done.
| |
23 class ChromeFallbackIconClient : public FallbackIconClient { | |
24 public: | |
25 explicit ChromeFallbackIconClient(Profile* profile); | |
sdefresne
2015/03/17 09:41:52
You don't use profile, so there is no need to pass
huangs
2015/03/23 03:28:34
Done.
| |
26 ~ChromeFallbackIconClient() override; | |
27 | |
28 // FallbackIconClient implementation: | |
29 const std::vector<std::string>& GetFontNameList() override; | |
30 | |
31 private: | |
32 Profile* profile_; | |
33 | |
34 std::vector<std::string> font_list_; | |
35 | |
36 DISALLOW_COPY_AND_ASSIGN(ChromeFallbackIconClient); | |
37 }; | |
38 | |
39 #endif // CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_H_ | |
OLD | NEW |