| Index: chrome/browser/extensions/api/url_handlers/url_handlers_api.h
|
| diff --git a/chrome/browser/extensions/api/file_handlers/file_handlers_api.h b/chrome/browser/extensions/api/url_handlers/url_handlers_api.h
|
| similarity index 50%
|
| copy from chrome/browser/extensions/api/file_handlers/file_handlers_api.h
|
| copy to chrome/browser/extensions/api/url_handlers/url_handlers_api.h
|
| index e8d00f9c001b5b928102df6641c7a223387fb2ea..8342b6c9cf2f63ef01501e3ed3ca8b3817bf1840 100644
|
| --- a/chrome/browser/extensions/api/file_handlers/file_handlers_api.h
|
| +++ b/chrome/browser/extensions/api/url_handlers/url_handlers_api.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_EXTENSIONS_API_FILE_HANDLERS_FILE_HANDLERS_API_H_
|
| -#define CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_FILE_HANDLERS_API_H_
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_URL_HANDLERS_URL_HANDLERS_API_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_API_URL_HANDLERS_URL_HANDLERS_API_H_
|
|
|
| #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
|
|
|
| @@ -11,24 +11,24 @@ class Profile;
|
|
|
| namespace extensions {
|
|
|
| -class FileHandlersAPI : public ProfileKeyedAPI {
|
| +class UrlHandlersAPI : public ProfileKeyedAPI {
|
| public:
|
| - explicit FileHandlersAPI(Profile* profile);
|
| - virtual ~FileHandlersAPI();
|
| + explicit UrlHandlersAPI(Profile* profile);
|
| + virtual ~UrlHandlersAPI();
|
|
|
| // ProfileKeyedAPI implementation.
|
| - static ProfileKeyedAPIFactory<FileHandlersAPI>* GetFactoryInstance();
|
| + static ProfileKeyedAPIFactory<UrlHandlersAPI>* GetFactoryInstance();
|
|
|
| private:
|
| - friend class ProfileKeyedAPIFactory<FileHandlersAPI>;
|
| + friend class ProfileKeyedAPIFactory<UrlHandlersAPI>;
|
|
|
| // ProfileKeyedAPI implementation.
|
| static const char* service_name() {
|
| - return "FileHandlersAPI";
|
| + return "UrlHandlersAPI";
|
| }
|
| static const bool kServiceIsNULLWhileTesting = true;
|
| };
|
|
|
| } // namespace extensions
|
|
|
| -#endif // CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_FILE_HANDLERS_API_H_
|
| +#endif // CHROME_BROWSER_EXTENSIONS_API_URL_HANDLERS_URL_HANDLERS_API_H_
|
|
|