| Index: chrome/browser/chromeos/file_system_provider/service_factory.cc
|
| diff --git a/chrome/browser/chromeos/file_system_provider/service_factory.cc b/chrome/browser/chromeos/file_system_provider/service_factory.cc
|
| index 4c618c13ea99486d33a8a0ad3d7f07b1f568c005..2c034f276fa08f30be7d43bdce98d5387f8d3d53 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/service_factory.cc
|
| +++ b/chrome/browser/chromeos/file_system_provider/service_factory.cc
|
| @@ -18,6 +18,12 @@ Service* ServiceFactory::Get(content::BrowserContext* context) {
|
| GetInstance()->GetServiceForBrowserContext(context, true));
|
| }
|
|
|
| +// static
|
| +Service* ServiceFactory::FindExisting(content::BrowserContext* context) {
|
| + return static_cast<Service*>(
|
| + GetInstance()->GetServiceForBrowserContext(context, false));
|
| +}
|
| +
|
| ServiceFactory* ServiceFactory::GetInstance() {
|
| return Singleton<ServiceFactory>::get();
|
| }
|
|
|