| Index: chrome/browser/extensions/api/dial/dial_api_factory.cc
|
| diff --git a/chrome/browser/extensions/api/dial/dial_api_factory.cc b/chrome/browser/extensions/api/dial/dial_api_factory.cc
|
| index 33dc74008acc386d618e71e619f897513b374c9d..8b110022c6032e3f2c10432cf1fa4ba420ef6a80 100644
|
| --- a/chrome/browser/extensions/api/dial/dial_api_factory.cc
|
| +++ b/chrome/browser/extensions/api/dial/dial_api_factory.cc
|
| @@ -13,7 +13,7 @@ namespace extensions {
|
| // static
|
| scoped_refptr<DialAPI> DialAPIFactory::GetForProfile(Profile* profile) {
|
| return static_cast<DialAPI*>(
|
| - GetInstance()->GetServiceForProfile(profile, true).get());
|
| + GetInstance()->GetServiceForBrowserContext(profile, true).get());
|
| }
|
|
|
| // static
|
| @@ -21,21 +21,21 @@ DialAPIFactory* DialAPIFactory::GetInstance() {
|
| return Singleton<DialAPIFactory>::get();
|
| }
|
|
|
| -DialAPIFactory::DialAPIFactory() : RefcountedProfileKeyedServiceFactory(
|
| - "DialAPI", ProfileDependencyManager::GetInstance()) {
|
| +DialAPIFactory::DialAPIFactory() : RefcountedBrowserContextKeyedServiceFactory(
|
| + "DialAPI", BrowserContextDependencyManager::GetInstance()) {
|
| DependsOn(ExtensionSystemFactory::GetInstance());
|
| }
|
|
|
| DialAPIFactory::~DialAPIFactory() {
|
| }
|
|
|
| -scoped_refptr<RefcountedProfileKeyedService>
|
| +scoped_refptr<RefcountedBrowserContextKeyedService>
|
| DialAPIFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| return scoped_refptr<DialAPI>(new DialAPI(static_cast<Profile*>(profile)));
|
| }
|
|
|
| -bool DialAPIFactory::ServiceIsCreatedWithProfile() const {
|
| +bool DialAPIFactory::ServiceIsCreatedWithBrowserContext() const {
|
| return true;
|
| }
|
|
|
|
|