Index: chrome/browser/favicon/chrome_favicon_client.h |
diff --git a/chrome/browser/favicon/chrome_favicon_client.h b/chrome/browser/favicon/chrome_favicon_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..eebc942a233b785a2e320cebdafabf3fbd36cd59 |
--- /dev/null |
+++ b/chrome/browser/favicon/chrome_favicon_client.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_ |
+#define CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_ |
+ |
+#include "components/favicon/core/browser/favicon_client.h" |
+ |
+#include "base/macros.h" |
+ |
+class FaviconService; |
+class GURL; |
+class Profile; |
+ |
+class ChromeFaviconClient : public FaviconClient { |
blundell
2014/05/26 15:53:07
Should have a class comment.
jif-google
2014/05/26 17:49:22
Done.
|
+ public: |
+ explicit ChromeFaviconClient(Profile* profile); |
+ virtual ~ChromeFaviconClient(); |
+ |
+ // FaviconClient implementation: |
+ virtual FaviconService* GetFaviconService() OVERRIDE; |
+ virtual bool IsBookmarked(const GURL& url) OVERRIDE; |
+ |
+ private: |
+ Profile* profile_; |
+ DISALLOW_COPY_AND_ASSIGN(ChromeFaviconClient); |
+}; |
+ |
+#endif // CHROME_BROWSER_FAVICON_CHROME_FAVICON_CLIENT_H_ |