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

Unified Diff: apps/shortcut_manager_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 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: apps/shortcut_manager_factory.h
diff --git a/apps/shortcut_manager_factory.h b/apps/shortcut_manager_factory.h
index 7f928e3c811084991cc954188ff328c2e459a3eb..9f8add9192230a5d01240000220cca062fa21494 100644
--- a/apps/shortcut_manager_factory.h
+++ b/apps/shortcut_manager_factory.h
@@ -19,7 +19,7 @@ class ShortcutManager;
// Profiles. Listens for the Profile's destruction notification and cleans up
// the associated ShortcutManager.
// ShortcutManagers should not exist in incognito profiles.
-class ShortcutManagerFactory : public ProfileKeyedServiceFactory {
+class ShortcutManagerFactory : public BrowserContextKeyedServiceFactory {
public:
static ShortcutManager* GetForProfile(Profile* profile);
@@ -33,10 +33,10 @@ class ShortcutManagerFactory : public ProfileKeyedServiceFactory {
ShortcutManagerFactory();
virtual ~ShortcutManagerFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
- virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
+ virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
};
} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698