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

Unified Diff: chrome/browser/favicon/chrome_fallback_icon_client_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/chrome_fallback_icon_client_factory.h
diff --git a/chrome/browser/favicon/chrome_fallback_icon_client_factory.h b/chrome/browser/favicon/chrome_fallback_icon_client_factory.h
deleted file mode 100644
index 0f349a62b104d42b2deb694681601049571fdde1..0000000000000000000000000000000000000000
--- a/chrome/browser/favicon/chrome_fallback_icon_client_factory.h
+++ /dev/null
@@ -1,46 +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_CHROME_FALLBACK_ICON_CLIENT_FACTORY_H_
-#define CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_FACTORY_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 FallbackIconClient;
-}
-
-// Singleton that owns all ChromeFallbackIconClients and associates them with
-// Profiles.
-class ChromeFallbackIconClientFactory
- : public BrowserContextKeyedServiceFactory {
- public:
- // Returns the instance of FallbackIconClient associated with this profile
- // (creating one if none exists).
- static favicon::FallbackIconClient* GetForBrowserContext(
- content::BrowserContext* context);
-
- // Returns an instance of the factory singleton.
- static ChromeFallbackIconClientFactory* GetInstance();
-
- private:
- friend struct base::DefaultSingletonTraits<ChromeFallbackIconClientFactory>;
-
- ChromeFallbackIconClientFactory();
- ~ChromeFallbackIconClientFactory() override;
-
- // BrowserContextKeyedServiceFactory:
- KeyedService* BuildServiceInstanceFor(
- content::BrowserContext* context) const override;
-};
-
-#endif // CHROME_BROWSER_FAVICON_CHROME_FALLBACK_ICON_CLIENT_FACTORY_H_
« no previous file with comments | « chrome/browser/favicon/chrome_fallback_icon_client.cc ('k') | chrome/browser/favicon/chrome_fallback_icon_client_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698