Index: chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc |
diff --git a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc |
deleted file mode 100644 |
index a31f1ed9472c38a9954a0580662fe5c0c24b2ad2..0000000000000000000000000000000000000000 |
--- a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.cc |
+++ /dev/null |
@@ -1,41 +0,0 @@ |
-// Copyright (c) 2013 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. |
- |
-#include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h" |
- |
-#include "chrome/browser/notifications/sync_notifier/chrome_notifier_service.h" |
-#include "components/keyed_service/content/browser_context_dependency_manager.h" |
- |
-namespace notifier { |
- |
-// static |
-ChromeNotifierService* ChromeNotifierServiceFactory::GetForProfile( |
- Profile* profile, Profile::ServiceAccessType service_access_type) { |
- return static_cast<ChromeNotifierService*>( |
- GetInstance()->GetServiceForBrowserContext(profile, true)); |
-} |
- |
-// static |
-ChromeNotifierServiceFactory* ChromeNotifierServiceFactory::GetInstance() { |
- return Singleton<ChromeNotifierServiceFactory>::get(); |
-} |
- |
- |
-ChromeNotifierServiceFactory::ChromeNotifierServiceFactory() |
- : BrowserContextKeyedServiceFactory( |
- "ChromeNotifierService", |
- BrowserContextDependencyManager::GetInstance()) { |
-} |
- |
-ChromeNotifierServiceFactory::~ChromeNotifierServiceFactory() { |
-} |
- |
-KeyedService* ChromeNotifierServiceFactory::BuildServiceInstanceFor( |
- content::BrowserContext* profile) const { |
- ChromeNotifierService* chrome_notifier_service = |
- new ChromeNotifierService(static_cast<Profile*>(profile)); |
- return chrome_notifier_service; |
-} |
- |
-} // namespace notifier |