summaryrefslogtreecommitdiffstats
path: root/apps/app_restore_service.h
diff options
context:
space:
mode:
authorblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 05:28:20 +0000
committerblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 05:28:20 +0000
commit12b7af356ea046e14f0c070d5368591ea6accefa (patch)
treefe91fb1d39ae239862a2bb3421748b0a58baf988 /apps/app_restore_service.h
parentcd61254edabc1fb6ba6c42e8338010f5c0518b81 (diff)
downloadchromium_src-12b7af356ea046e14f0c070d5368591ea6accefa.zip
chromium_src-12b7af356ea046e14f0c070d5368591ea6accefa.tar.gz
chromium_src-12b7af356ea046e14f0c070d5368591ea6accefa.tar.bz2
Move clients of BrowserContextKeyedService to using KeyedService (#3)
This CL moves the following clients of BCKS to using the KeyedService component: - //apps - //chrome/browser/apps - //chrome/browser/chromeos - //chrome/browser/managed_mode BUG=351704 TBR=yoz,jochen Review URL: https://codereview.chromium.org/197733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/app_restore_service.h')
-rw-r--r--apps/app_restore_service.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_restore_service.h b/apps/app_restore_service.h
index 9dd88cf..33a407a 100644
--- a/apps/app_restore_service.h
+++ b/apps/app_restore_service.h
@@ -10,7 +10,7 @@
#include "apps/app_lifetime_monitor.h"
#include "apps/app_window_registry.h"
-#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
+#include "components/keyed_service/core/keyed_service.h"
namespace extensions {
class Extension;
@@ -21,7 +21,7 @@ class Profile;
namespace apps {
// Tracks what apps need to be restarted when the browser restarts.
-class AppRestoreService : public BrowserContextKeyedService,
+class AppRestoreService : public KeyedService,
public AppLifetimeMonitor::Observer {
public:
// Returns true if apps should be restored on the current platform, given
@@ -50,7 +50,7 @@ class AppRestoreService : public BrowserContextKeyedService,
virtual void OnAppStop(Profile* profile, const std::string& app_id) OVERRIDE;
virtual void OnChromeTerminating() OVERRIDE;
- // BrowserContextKeyedService.
+ // KeyedService.
virtual void Shutdown() OVERRIDE;
void RecordAppStart(const std::string& extension_id);