| Index: apps/app_keep_alive_service_factory.cc
|
| diff --git a/apps/app_keep_alive_service_factory.cc b/apps/app_keep_alive_service_factory.cc
|
| deleted file mode 100644
|
| index 5afe0508f6dd57c3b6cd42b5a792be85e0fdb1eb..0000000000000000000000000000000000000000
|
| --- a/apps/app_keep_alive_service_factory.cc
|
| +++ /dev/null
|
| @@ -1,48 +0,0 @@
|
| -// Copyright 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 "apps/app_keep_alive_service_factory.h"
|
| -
|
| -#include "apps/app_keep_alive_service.h"
|
| -#include "apps/app_lifetime_monitor_factory.h"
|
| -#include "apps/app_window_registry.h"
|
| -#include "components/browser_context_keyed_service/browser_context_dependency_manager.h"
|
| -#include "extensions/browser/extensions_browser_client.h"
|
| -
|
| -namespace apps {
|
| -
|
| -// static
|
| -AppKeepAliveServiceFactory* AppKeepAliveServiceFactory::GetInstance() {
|
| - return Singleton<AppKeepAliveServiceFactory>::get();
|
| -}
|
| -
|
| -AppKeepAliveServiceFactory::AppKeepAliveServiceFactory()
|
| - : BrowserContextKeyedServiceFactory(
|
| - "AppKeepAliveService",
|
| - BrowserContextDependencyManager::GetInstance()) {
|
| - DependsOn(AppLifetimeMonitorFactory::GetInstance());
|
| -}
|
| -
|
| -AppKeepAliveServiceFactory::~AppKeepAliveServiceFactory() {}
|
| -
|
| -BrowserContextKeyedService* AppKeepAliveServiceFactory::BuildServiceInstanceFor(
|
| - content::BrowserContext* context) const {
|
| - return new AppKeepAliveService(context);
|
| -}
|
| -
|
| -bool AppKeepAliveServiceFactory::ServiceIsCreatedWithBrowserContext() const {
|
| - return true;
|
| -}
|
| -
|
| -content::BrowserContext* AppKeepAliveServiceFactory::GetBrowserContextToUse(
|
| - content::BrowserContext* context) const {
|
| - return extensions::ExtensionsBrowserClient::Get()->
|
| - GetOriginalContext(context);
|
| -}
|
| -
|
| -bool AppKeepAliveServiceFactory::ServiceIsNULLWhileTesting() const {
|
| - return true;
|
| -}
|
| -
|
| -} // namespace apps
|
|
|