| Index: chrome/browser/extensions/api/input_ime/input_ime_api.h
|
| diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api.h b/chrome/browser/extensions/api/input_ime/input_ime_api.h
|
| index 6b2acaff9a50e452b206c6c37b02e6fcd59d55fe..ad6282de435e3220fbbadee7f488a70ae419599a 100644
|
| --- a/chrome/browser/extensions/api/input_ime/input_ime_api.h
|
| +++ b/chrome/browser/extensions/api/input_ime/input_ime_api.h
|
| @@ -12,10 +12,10 @@
|
| #include "base/memory/singleton.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/chromeos/input_method/input_method_engine_interface.h"
|
| -#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
|
| #include "components/browser_context_keyed_service/browser_context_keyed_service.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| +#include "extensions/browser/browser_context_keyed_api_factory.h"
|
| #include "extensions/browser/extension_function.h"
|
| #include "extensions/common/extension.h"
|
|
|
| @@ -213,14 +213,14 @@ class InputImeHideInputViewFunction : public AsyncExtensionFunction {
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| -class InputImeAPI : public ProfileKeyedAPI,
|
| +class InputImeAPI : public BrowserContextKeyedAPI,
|
| public content::NotificationObserver {
|
| public:
|
| explicit InputImeAPI(content::BrowserContext* context);
|
| virtual ~InputImeAPI();
|
|
|
| - // ProfileKeyedAPI implementation.
|
| - static ProfileKeyedAPIFactory<InputImeAPI>* GetFactoryInstance();
|
| + // BrowserContextKeyedAPI implementation.
|
| + static BrowserContextKeyedAPIFactory<InputImeAPI>* GetFactoryInstance();
|
|
|
| // content::NotificationObserver implementation.
|
| virtual void Observe(int type,
|
| @@ -228,10 +228,10 @@ class InputImeAPI : public ProfileKeyedAPI,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| private:
|
| - friend class ProfileKeyedAPIFactory<InputImeAPI>;
|
| + friend class BrowserContextKeyedAPIFactory<InputImeAPI>;
|
| InputImeEventRouter* input_ime_event_router();
|
|
|
| - // ProfileKeyedAPI implementation.
|
| + // BrowserContextKeyedAPI implementation.
|
| static const char* service_name() {
|
| return "InputImeAPI";
|
| }
|
|
|