OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_ |
| 6 #define CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_ |
| 7 |
| 8 #include "components/favicon/core/browser/favicon_client.h" |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
| 12 class FaviconService; |
| 13 class GURL; |
| 14 class Profile; |
| 15 |
| 16 // ChromeFaviconClient implements the the FaviconClient interface. |
| 17 class ChromeFaviconClient : public FaviconClient { |
| 18 public: |
| 19 explicit ChromeFaviconClient(Profile* profile); |
| 20 virtual ~ChromeFaviconClient(); |
| 21 |
| 22 // FaviconClient implementation: |
| 23 virtual FaviconService* GetFaviconService() OVERRIDE; |
| 24 virtual bool IsBookmarked(const GURL& url) OVERRIDE; |
| 25 |
| 26 private: |
| 27 Profile* profile_; |
| 28 DISALLOW_COPY_AND_ASSIGN(ChromeFaviconClient); |
| 29 }; |
| 30 |
| 31 #endif // CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_ |
OLD | NEW |