Index: components/favicon/content/browser/content_favicon_driver.h |
diff --git a/components/favicon/content/browser/content_favicon_driver.h b/components/favicon/content/browser/content_favicon_driver.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5f789674cfecbc175b6376e1358e7ae74120f55e |
--- /dev/null |
+++ b/components/favicon/content/browser/content_favicon_driver.h |
@@ -0,0 +1,32 @@ |
+// 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 COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_ |
+#define COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_ |
+ |
+#include "components/favicon/content/favicon_driver.h" |
+ |
+#include "content/public/browser/web_contents_observer.h" |
+ |
+class FaviconClient; |
+ |
+namespace content { |
+class WebContents; |
+} |
+ |
+// Implementation of the FaviconDriver based on content. |
+class ContentFaviconDriver : public FaviconDriver, |
+ public content::WebContentsObserver { |
+ public: |
+ ContentFaviconDriver(content::WebContents* web_contents); |
+ virtual ~ContentFaviconDriver(); |
+ |
+ // FaviconDriver implementation. |
+ virtual bool IsOffTheRecord() OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); |
+}; |
+ |
+#endif // COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_ |