Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: ios/chrome/browser/favicon/ios_chrome_large_icon_service_factory.h

Issue 1458703009: Remove ServiceIsNullForTesting override for FaviconServiceFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment fix Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>;

Powered by Google App Engine
This is Rietveld 408576698