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

Unified Diff: chrome/browser/managed_mode/managed_user_registration_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/managed_mode/managed_user_registration_service_factory.h
diff --git a/chrome/browser/managed_mode/managed_user_registration_service_factory.h b/chrome/browser/managed_mode/managed_user_registration_service_factory.h
index 6bbb07afb8537d3d6c779a8b4b9b98de3e981ce4..b579bf8855dd79684a28b7ea9555106ec658b867 100644
--- a/chrome/browser/managed_mode/managed_user_registration_service_factory.h
+++ b/chrome/browser/managed_mode/managed_user_registration_service_factory.h
@@ -12,14 +12,14 @@ class ManagedUserRegistrationService;
class Profile;
class ManagedUserRegistrationServiceFactory
- : public ProfileKeyedServiceFactory {
+ : public BrowserContextKeyedServiceFactory {
public:
static ManagedUserRegistrationService* GetForProfile(Profile* profile);
static ManagedUserRegistrationServiceFactory* GetInstance();
// Used to create instances for testing.
- static ProfileKeyedService* BuildInstanceFor(Profile* profile);
+ static BrowserContextKeyedService* BuildInstanceFor(Profile* profile);
private:
friend struct DefaultSingletonTraits<ManagedUserRegistrationServiceFactory>;
@@ -27,8 +27,8 @@ class ManagedUserRegistrationServiceFactory
ManagedUserRegistrationServiceFactory();
virtual ~ManagedUserRegistrationServiceFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698