| Index: chrome/browser/chromeos/extensions/file_manager/event_router_factory.h
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/file_manager_private_api_factory.h b/chrome/browser/chromeos/extensions/file_manager/event_router_factory.h
|
| similarity index 52%
|
| rename from chrome/browser/chromeos/extensions/file_manager/file_manager_private_api_factory.h
|
| rename to chrome/browser/chromeos/extensions/file_manager/event_router_factory.h
|
| index 85e97d056a3912c84cb3bf13919de7814bf3b8d1..0d2feea932786e9d66d414107a63f6dede7f4f04 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/file_manager_private_api_factory.h
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/event_router_factory.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_PRIVATE_API_FACTORY_H_
|
| -#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_PRIVATE_API_FACTORY_H_
|
| +#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_FACTORY_H_
|
| +#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_FACTORY_H_
|
|
|
| #include "base/memory/singleton.h"
|
| #include "components/keyed_service/content/browser_context_keyed_service_factory.h"
|
| @@ -12,16 +12,16 @@ class Profile;
|
|
|
| namespace file_manager {
|
|
|
| -class FileManagerPrivateAPI;
|
| +class EventRouter;
|
|
|
| -class FileManagerPrivateAPIFactory : public BrowserContextKeyedServiceFactory {
|
| +class EventRouterFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| - // Returns the FileManagerPrivateAPI for |profile|, creating it if
|
| + // Returns the EventRouter for |profile|, creating it if
|
| // it is not yet created.
|
| - static FileManagerPrivateAPI* GetForProfile(Profile* profile);
|
| + static EventRouter* GetForProfile(Profile* profile);
|
|
|
| - // Returns the FileManagerPrivateAPIFactory instance.
|
| - static FileManagerPrivateAPIFactory* GetInstance();
|
| + // Returns the EventRouterFactory instance.
|
| + static EventRouterFactory* GetInstance();
|
|
|
| protected:
|
| // BrowserContextKeyedBaseFactory overrides:
|
| @@ -31,10 +31,10 @@ class FileManagerPrivateAPIFactory : public BrowserContextKeyedServiceFactory {
|
| virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
|
|
|
| private:
|
| - friend struct DefaultSingletonTraits<FileManagerPrivateAPIFactory>;
|
| + friend struct DefaultSingletonTraits<EventRouterFactory>;
|
|
|
| - FileManagerPrivateAPIFactory();
|
| - virtual ~FileManagerPrivateAPIFactory();
|
| + EventRouterFactory();
|
| + virtual ~EventRouterFactory();
|
|
|
| // BrowserContextKeyedServiceFactory:
|
| virtual KeyedService* BuildServiceInstanceFor(
|
| @@ -43,4 +43,4 @@ class FileManagerPrivateAPIFactory : public BrowserContextKeyedServiceFactory {
|
|
|
| } // namespace file_manager
|
|
|
| -#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_PRIVATE_API_FACTORY_H_
|
| +#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_FACTORY_H_
|
|
|