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

Unified Diff: chrome/browser/search/instant_service_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: chrome/browser/search/instant_service_factory.h
diff --git a/chrome/browser/search/instant_service_factory.h b/chrome/browser/search/instant_service_factory.h
index 0c31f05202d19f2ff634bc9386d663203aab487a..4d9c584e34bb5fdc497446206df12aa75762a6f1 100644
--- a/chrome/browser/search/instant_service_factory.h
+++ b/chrome/browser/search/instant_service_factory.h
@@ -12,10 +12,10 @@
class InstantService;
class Profile;
-class ProfileKeyedService;
+class BrowserContextKeyedService;
// Singleton that owns all InstantServices and associates them with Profiles.
-class InstantServiceFactory : public ProfileKeyedServiceFactory {
+class InstantServiceFactory : public BrowserContextKeyedServiceFactory {
public:
// Returns the InstantService for |profile|.
static InstantService* GetForProfile(Profile* profile);
@@ -28,10 +28,10 @@ class InstantServiceFactory : public ProfileKeyedServiceFactory {
InstantServiceFactory();
virtual ~InstantServiceFactory();
- // Overridden from ProfileKeyedServiceFactory:
+ // Overridden from BrowserContextKeyedServiceFactory:
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(InstantServiceFactory);

Powered by Google App Engine
This is Rietveld 408576698