Chromium Code Reviews| Index: chrome/browser/extensions/api/url_parser/url_parser_api_factory.h |
| diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api_factory.h b/chrome/browser/extensions/api/url_parser/url_parser_api_factory.h |
| similarity index 56% |
| copy from chrome/browser/extensions/api/input_ime/input_ime_api_factory.h |
| copy to chrome/browser/extensions/api/url_parser/url_parser_api_factory.h |
| index 03586cfdffb6dcc6c5ad67b6ff14d3d8daf470b2..eb46ad689e85b2c7eaaf3746dcb51539301af725 100644 |
| --- a/chrome/browser/extensions/api/input_ime/input_ime_api_factory.h |
| +++ b/chrome/browser/extensions/api/url_parser/url_parser_api_factory.h |
| @@ -2,24 +2,25 @@ |
| // 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_INPUT_IME_INPUT_IME_API_FACTORY_H_ |
| -#define CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_FACTORY_H_ |
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_URL_PARSER_URL_PARSER_API_FACTORY_H_ |
| +#define CHROME_BROWSER_EXTENSIONS_API_URL_PARSER_URL_PARSER_API_FACTORY_H_ |
| #include "base/memory/singleton.h" |
| #include "chrome/browser/profiles/profile_keyed_service_factory.h" |
| namespace extensions { |
| -class InputImeAPI; |
| -class InputImeAPIFactory : public ProfileKeyedServiceFactory { |
| +class URLParserAPI; |
| + |
| +class URLParserAPIFactory : public ProfileKeyedServiceFactory { |
|
Yoyo Zhou
2012/12/27 17:16:17
Check out the ProfileKeyedAPIFactory.
Joe Thomas
2012/12/30 04:26:00
Done.
|
| public: |
| - static InputImeAPIFactory* GetInstance(); |
| + static URLParserAPIFactory* GetInstance(); |
| private: |
| - friend struct DefaultSingletonTraits<InputImeAPIFactory>; |
| + friend struct DefaultSingletonTraits<URLParserAPIFactory>; |
| - InputImeAPIFactory(); |
| - virtual ~InputImeAPIFactory(); |
| + URLParserAPIFactory(); |
| + virtual ~URLParserAPIFactory(); |
| // ProfileKeyedServiceFactory implementation. |
| virtual ProfileKeyedService* BuildServiceInstanceFor( |
| @@ -30,4 +31,4 @@ class InputImeAPIFactory : public ProfileKeyedServiceFactory { |
| } // namespace extensions |
| -#endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_FACTORY_H_ |
| +#endif // CHROME_BROWSER_EXTENSIONS_API_URL_PARSER_URL_PARSER_API_FACTORY_H_ |