| Index: chrome/browser/chromeos/extensions/file_manager/file_manager_private_api_factory.h
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h b/chrome/browser/chromeos/extensions/file_manager/file_manager_private_api_factory.h
|
| similarity index 58%
|
| rename from chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h
|
| rename to chrome/browser/chromeos/extensions/file_manager/file_manager_private_api_factory.h
|
| index a2e841fc2611ba935bc18f6b7340db50bc0ec508..85e97d056a3912c84cb3bf13919de7814bf3b8d1 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/file_manager_private_api_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_BROWSER_PRIVATE_API_FACTORY_H_
|
| -#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_BROWSER_PRIVATE_API_FACTORY_H_
|
| +#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_
|
|
|
| #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 FileBrowserPrivateAPI;
|
| +class FileManagerPrivateAPI;
|
|
|
| -class FileBrowserPrivateAPIFactory : public BrowserContextKeyedServiceFactory {
|
| +class FileManagerPrivateAPIFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| - // Returns the FileBrowserPrivateAPI for |profile|, creating it if
|
| + // Returns the FileManagerPrivateAPI for |profile|, creating it if
|
| // it is not yet created.
|
| - static FileBrowserPrivateAPI* GetForProfile(Profile* profile);
|
| + static FileManagerPrivateAPI* GetForProfile(Profile* profile);
|
|
|
| - // Returns the FileBrowserPrivateAPIFactory instance.
|
| - static FileBrowserPrivateAPIFactory* GetInstance();
|
| + // Returns the FileManagerPrivateAPIFactory instance.
|
| + static FileManagerPrivateAPIFactory* GetInstance();
|
|
|
| protected:
|
| // BrowserContextKeyedBaseFactory overrides:
|
| @@ -31,10 +31,10 @@ class FileBrowserPrivateAPIFactory : public BrowserContextKeyedServiceFactory {
|
| virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
|
|
|
| private:
|
| - friend struct DefaultSingletonTraits<FileBrowserPrivateAPIFactory>;
|
| + friend struct DefaultSingletonTraits<FileManagerPrivateAPIFactory>;
|
|
|
| - FileBrowserPrivateAPIFactory();
|
| - virtual ~FileBrowserPrivateAPIFactory();
|
| + FileManagerPrivateAPIFactory();
|
| + virtual ~FileManagerPrivateAPIFactory();
|
|
|
| // BrowserContextKeyedServiceFactory:
|
| virtual KeyedService* BuildServiceInstanceFor(
|
| @@ -43,4 +43,4 @@ class FileBrowserPrivateAPIFactory : public BrowserContextKeyedServiceFactory {
|
|
|
| } // namespace file_manager
|
|
|
| -#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_BROWSER_PRIVATE_API_FACTORY_H_
|
| +#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_PRIVATE_API_FACTORY_H_
|
|
|