Index: ios/chrome/browser/favicon/ios_chrome_large_icon_service_factory.h |
diff --git a/ios/chrome/browser/favicon/ios_chrome_large_icon_service_factory.h b/ios/chrome/browser/favicon/ios_chrome_large_icon_service_factory.h |
index d6611c3025ca4237163443bd00f8f51ce896d135..04ec2a9e5087d280916a99a07a9abd3c8c4e89eb 100644 |
--- a/ios/chrome/browser/favicon/ios_chrome_large_icon_service_factory.h |
+++ b/ios/chrome/browser/favicon/ios_chrome_large_icon_service_factory.h |
@@ -34,6 +34,11 @@ class IOSChromeLargeIconServiceFactory |
static IOSChromeLargeIconServiceFactory* GetInstance(); |
+ // Returns the default factory used to build IOSChromeLargeIconService. Can be |
+ // registered with SetTestingFactory to use the IOSChromeLargeIconService |
+ // instance during testing. |
+ static TestingFactoryFunction GetDefaultFactory(); |
+ |
private: |
friend struct base::DefaultSingletonTraits<IOSChromeLargeIconServiceFactory>; |