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

Unified Diff: chrome/browser/favicon/large_icon_service_factory.h

Issue 1092873002: [Icons NTP] Refactor large_icon_source to extract the logic shared between desktop and Android to f… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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
« no previous file with comments | « no previous file | chrome/browser/favicon/large_icon_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/favicon/large_icon_service_factory.h
diff --git a/chrome/browser/favicon/fallback_icon_service_factory.h b/chrome/browser/favicon/large_icon_service_factory.h
similarity index 49%
copy from chrome/browser/favicon/fallback_icon_service_factory.h
copy to chrome/browser/favicon/large_icon_service_factory.h
index e5a21540e9e19f16cfb6d33edffc6a55a9670858..46a9e5bb6f4756c7be0ca917b92eca1f58cf3702 100644
--- a/chrome/browser/favicon/fallback_icon_service_factory.h
+++ b/chrome/browser/favicon/large_icon_service_factory.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_FAVICON_FALLBACK_ICON_SERVICE_FACTORY_H_
-#define CHROME_BROWSER_FAVICON_FALLBACK_ICON_SERVICE_FACTORY_H_
+#ifndef CHROME_BROWSER_FAVICON_LARGE_ICON_SERVICE_FACTORY_H_
+#define CHROME_BROWSER_FAVICON_LARGE_ICON_SERVICE_FACTORY_H_
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
@@ -14,30 +14,30 @@ class BrowserContext;
}
namespace favicon {
-class FallbackIconService;
+class LargeIconService;
}
-// Singleton that owns all FallbackIconService and associates them with
+// Singleton that owns all LargeIconService and associates them with
// BrowserContext instances.
-class FallbackIconServiceFactory : public BrowserContextKeyedServiceFactory {
+class LargeIconServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- static favicon::FallbackIconService* GetForBrowserContext(
+ static favicon::LargeIconService* GetForBrowserContext(
content::BrowserContext* context);
- static FallbackIconServiceFactory* GetInstance();
+ static LargeIconServiceFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<FallbackIconServiceFactory>;
+ friend struct DefaultSingletonTraits<LargeIconServiceFactory>;
- FallbackIconServiceFactory();
- ~FallbackIconServiceFactory() override;
+ LargeIconServiceFactory();
+ ~LargeIconServiceFactory() override;
// BrowserContextKeyedServiceFactory:
KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override;
bool ServiceIsNULLWhileTesting() const override;
- DISALLOW_COPY_AND_ASSIGN(FallbackIconServiceFactory);
+ DISALLOW_COPY_AND_ASSIGN(LargeIconServiceFactory);
};
-#endif // CHROME_BROWSER_FAVICON_FALLBACK_ICON_SERVICE_FACTORY_H_
+#endif // CHROME_BROWSER_FAVICON_LARGE_ICON_SERVICE_FACTORY_H_
« no previous file with comments | « no previous file | chrome/browser/favicon/large_icon_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698