Index: components/favicon/core/favicon_driver.h |
diff --git a/components/favicon/core/favicon_driver.h b/components/favicon/core/favicon_driver.h |
index 937ace877d616c2a2a3d90f41f4c79ef06c551e6..c3b0ccbfeef1529b2ceb185fcbb8181fc4f2340a 100644 |
--- a/components/favicon/core/favicon_driver.h |
+++ b/components/favicon/core/favicon_driver.h |
@@ -7,6 +7,10 @@ |
class GURL; |
+namespace gfx { |
+class Image; |
+} |
+ |
namespace content { |
// TODO(jif): Abstract the NavigationEntry (crbug.com/359598). |
class NavigationEntry; |
@@ -38,6 +42,18 @@ class FaviconDriver { |
// Returns whether the user is operating in an off-the-record context. |
virtual bool IsOffTheRecord() = 0; |
+ |
+ virtual const GURL GetActiveURL() = 0; |
+ |
+ virtual const GURL GetActiveFaviconURL() = 0; |
+ |
+ virtual bool GetActiveFaviconValidity() = 0; |
+ |
+ virtual void SetActiveFaviconValidity(bool validity) = 0; |
+ |
+ virtual void SetActiveFaviconImage(gfx::Image image) = 0; |
+ |
+ virtual void SetActiveFaviconURL(GURL url) = 0; |
}; |
#endif // COMPONENTS_FAVICON_CORE_FAVICON_DRIVER_H_ |