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 COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_ |
| 6 #define COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_ |
| 7 |
| 8 #include "components/favicon/content/favicon_driver.h" |
| 9 |
| 10 #include "content/public/browser/web_contents_observer.h" |
| 11 |
| 12 class FaviconClient; |
| 13 |
| 14 namespace content { |
| 15 class WebContents; |
| 16 } |
| 17 |
| 18 // Implementation of the FaviconDriver based on content. |
| 19 class ContentFaviconDriver : public FaviconDriver, |
| 20 public content::WebContentsObserver { |
| 21 public: |
| 22 ContentFaviconDriver(content::WebContents* web_contents); |
| 23 virtual ~ContentFaviconDriver(); |
| 24 |
| 25 // FaviconDriver implementation. |
| 26 virtual bool IsOffTheRecord() OVERRIDE; |
| 27 |
| 28 private: |
| 29 DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriver); |
| 30 }; |
| 31 |
| 32 #endif // COMPONENTS_FAVICON_CONTENT_BROWSER_CONTENT_FAVICON_DRIVER_H_ |
OLD | NEW |