Index: chrome/browser/search/hotword_service_factory.h |
diff --git a/chrome/browser/search/hotword_service_factory.h b/chrome/browser/search/hotword_service_factory.h |
index 0eb6a741772f277ad423543c8fca45fb53830568..5310a0e74ad308dd71e19399689dcf353f3a4fbc 100644 |
--- a/chrome/browser/search/hotword_service_factory.h |
+++ b/chrome/browser/search/hotword_service_factory.h |
@@ -15,19 +15,19 @@ class Profile; |
// Singleton that owns all HotwordServices and associates them with Profiles. |
class HotwordServiceFactory : public BrowserContextKeyedServiceFactory { |
public: |
- // Returns the HotwordService for |profile|. |
- static HotwordService* GetForProfile(Profile* profile); |
+ // Returns the HotwordService for |context|. |
+ static HotwordService* GetForProfile(content::BrowserContext* context); |
static HotwordServiceFactory* GetInstance(); |
- // Returns true to show the opt in pop up for that profile. |
- static bool ShouldShowOptInPopup(Profile* profile); |
+ // Returns true to show the opt in pop up for |context|. |
+ static bool ShouldShowOptInPopup(content::BrowserContext* context); |
- // Returns true if the hotwording service is available for |profile|. |
- static bool IsServiceAvailable(Profile* profile); |
+ // Returns true if the hotwording service is available for |context|. |
+ static bool IsServiceAvailable(content::BrowserContext* context); |
- // Returns true if hotwording is allowed for |profile|. |
- static bool IsHotwordAllowed(Profile* profile); |
+ // Returns true if hotwording is allowed for |context|. |
+ static bool IsHotwordAllowed(content::BrowserContext* context); |
private: |
friend struct DefaultSingletonTraits<HotwordServiceFactory>; |
@@ -39,7 +39,7 @@ class HotwordServiceFactory : public BrowserContextKeyedServiceFactory { |
virtual void RegisterProfilePrefs( |
user_prefs::PrefRegistrySyncable* registry) OVERRIDE; |
virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
- content::BrowserContext* profile) const OVERRIDE; |
+ content::BrowserContext* context) const OVERRIDE; |
DISALLOW_COPY_AND_ASSIGN(HotwordServiceFactory); |
}; |