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

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

Issue 2883053003: Delete unused chrome://fallback-icon/ handling (Closed)
Patch Set: Merge branch 'master' into searchbox3 Created 3 years, 7 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
Index: chrome/browser/favicon/fallback_icon_service_factory.h
diff --git a/chrome/browser/favicon/fallback_icon_service_factory.h b/chrome/browser/favicon/fallback_icon_service_factory.h
deleted file mode 100644
index 82b30bc9206f9338a33db9ef9cdc3df8d0512274..0000000000000000000000000000000000000000
--- a/chrome/browser/favicon/fallback_icon_service_factory.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "base/macros.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-
-namespace base {
-template <typename T> struct DefaultSingletonTraits;
-}
-
-namespace content {
-class BrowserContext;
-}
-
-namespace favicon {
-class FallbackIconService;
-}
-
-// Singleton that owns all FallbackIconService and associates them with
-// BrowserContext instances.
-class FallbackIconServiceFactory : public BrowserContextKeyedServiceFactory {
- public:
- static favicon::FallbackIconService* GetForBrowserContext(
- content::BrowserContext* context);
-
- static FallbackIconServiceFactory* GetInstance();
-
- private:
- friend struct base::DefaultSingletonTraits<FallbackIconServiceFactory>;
-
- FallbackIconServiceFactory();
- ~FallbackIconServiceFactory() override;
-
- // BrowserContextKeyedServiceFactory:
- content::BrowserContext* GetBrowserContextToUse(
- content::BrowserContext* context) const override;
- KeyedService* BuildServiceInstanceFor(
- content::BrowserContext* context) const override;
- bool ServiceIsNULLWhileTesting() const override;
-
- DISALLOW_COPY_AND_ASSIGN(FallbackIconServiceFactory);
-};
-
-#endif // CHROME_BROWSER_FAVICON_FALLBACK_ICON_SERVICE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698