Index: components/favicon/core/favicon_driver.h |
diff --git a/components/favicon/core/favicon_driver.h b/components/favicon/core/favicon_driver.h |
index fc5c84c32f05aecb8e25e94d93324442e5c9efe5..f06ca0d24048d3776d9d2d10ade03e093af88091 100644 |
--- a/components/favicon/core/favicon_driver.h |
+++ b/components/favicon/core/favicon_driver.h |
@@ -16,7 +16,6 @@ class Image; |
// implementation must be provided by the driver. |
class FaviconDriver { |
public: |
- |
// Starts the download for the given favicon. When finished, the driver |
// will call OnDidDownloadFavicon() with the results. |
// Returns the unique id of the download request. The id will be passed |
@@ -53,6 +52,13 @@ class FaviconDriver { |
virtual void OnFaviconAvailable(const gfx::Image& image, |
const GURL& icon_url, |
bool is_active_favicon) = 0; |
+ |
+ protected: |
+ FaviconDriver() {} |
+ virtual ~FaviconDriver() {} |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(FaviconDriver); |
}; |
#endif // COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_H_ |