| Index: chrome/browser/intents/web_intents_registry_factory.cc
|
| diff --git a/chrome/browser/intents/web_intents_registry_factory.cc b/chrome/browser/intents/web_intents_registry_factory.cc
|
| index 7bbbdb456632f3e0f0170b3ee9441c28f37b94b7..58ed05ae855f9368b6d9c45ebde46208826f5847 100644
|
| --- a/chrome/browser/intents/web_intents_registry_factory.cc
|
| +++ b/chrome/browser/intents/web_intents_registry_factory.cc
|
| @@ -12,6 +12,11 @@
|
| #include "chrome/browser/webdata/web_data_service_factory.h"
|
|
|
| // static
|
| +WebIntentsRegistryFactory* WebIntentsRegistryFactory::GetInstance() {
|
| + return Singleton<WebIntentsRegistryFactory>::get();
|
| +}
|
| +
|
| +// static
|
| WebIntentsRegistry* WebIntentsRegistryFactory::GetForProfile(Profile* profile) {
|
| return static_cast<WebIntentsRegistry*>(
|
| GetInstance()->GetServiceForProfile(profile, true));
|
| @@ -27,11 +32,6 @@ WebIntentsRegistryFactory::WebIntentsRegistryFactory()
|
| WebIntentsRegistryFactory::~WebIntentsRegistryFactory() {
|
| }
|
|
|
| -// static
|
| -WebIntentsRegistryFactory* WebIntentsRegistryFactory::GetInstance() {
|
| - return Singleton<WebIntentsRegistryFactory>::get();
|
| -}
|
| -
|
| ProfileKeyedService* WebIntentsRegistryFactory::BuildServiceInstanceFor(
|
| Profile* profile) const {
|
| WebIntentsRegistry* registry = new WebIntentsRegistry;
|
|
|