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

Unified Diff: apps/app_keep_alive_service.h

Issue 172313004: Remove unused AppKeepAliveService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (keep_alive_service) Created 6 years, 10 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 | apps/app_keep_alive_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_keep_alive_service.h
diff --git a/apps/app_keep_alive_service.h b/apps/app_keep_alive_service.h
deleted file mode 100644
index d3fecf9755ee29f1ad55c21b76ebe2c00fc5b98d..0000000000000000000000000000000000000000
--- a/apps/app_keep_alive_service.h
+++ /dev/null
@@ -1,39 +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.
-
-#ifndef APPS_APP_KEEP_ALIVE_SERVICE_H_
-#define APPS_APP_KEEP_ALIVE_SERVICE_H_
-
-#include "apps/app_lifetime_monitor.h"
-#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
-
-namespace apps {
-
-class AppKeepAliveService : public BrowserContextKeyedService,
- public AppLifetimeMonitor::Observer {
- public:
- AppKeepAliveService(content::BrowserContext* context);
- virtual ~AppKeepAliveService();
- virtual void Shutdown() OVERRIDE;
-
- // AppLifetimeMonitor::Observer:
- virtual void OnAppStart(Profile* profile, const std::string& app_id) OVERRIDE;
- virtual void OnAppStop(Profile* profile, const std::string& app_id) OVERRIDE;
- virtual void OnAppActivated(Profile* profile,
- const std::string& app_id) OVERRIDE;
- virtual void OnAppDeactivated(Profile* profile,
- const std::string& app_id) OVERRIDE;
- virtual void OnChromeTerminating() OVERRIDE;
-
- private:
- content::BrowserContext* context_;
- std::set<std::string> running_apps_;
- bool shut_down_;
-
- DISALLOW_COPY_AND_ASSIGN(AppKeepAliveService);
-};
-
-} // namespace apps
-
-#endif // APPS_APP_KEEP_ALIVE_SERVICE_H_
« no previous file with comments | « no previous file | apps/app_keep_alive_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698