summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_to_mobile_service_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chrome_to_mobile_service_factory.h')
-rw-r--r--chrome/browser/chrome_to_mobile_service_factory.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/chrome_to_mobile_service_factory.h b/chrome/browser/chrome_to_mobile_service_factory.h
index a3c8965..fa8f200 100644
--- a/chrome/browser/chrome_to_mobile_service_factory.h
+++ b/chrome/browser/chrome_to_mobile_service_factory.h
@@ -7,22 +7,21 @@
#pragma once
#include "base/memory/singleton.h"
-#include "chrome/browser/profiles/refcounted_profile_keyed_service_factory.h"
+#include "chrome/browser/profiles/profile_keyed_service_factory.h"
class ChromeToMobileService;
-class ChromeToMobileServiceFactory
- : public RefcountedProfileKeyedServiceFactory {
+class ChromeToMobileServiceFactory : public ProfileKeyedServiceFactory {
public:
// Get the singleton ChromeToMobileServiceFactory instance.
static ChromeToMobileServiceFactory* GetInstance();
// Get |profile|'s ChromeToMobileService, creating one if needed.
- static scoped_refptr<ChromeToMobileService> GetForProfile(Profile* profile);
+ static ChromeToMobileService* GetForProfile(Profile* profile);
protected:
- // RefcountedProfileKeyedServiceFactory overrides:
- virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor(
+ // ProfileKeyedServiceFactory overrides:
+ virtual ProfileKeyedService* BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
private: