Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Unified Diff: chrome/browser/chromeos/extensions/input_method_api.h

Issue 178193030: Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/extensions/input_method_api.h
diff --git a/chrome/browser/chromeos/extensions/input_method_api.h b/chrome/browser/chromeos/extensions/input_method_api.h
index 2daaca898d987468271c417d74555011164ce411..0245664846fc5b6fd8b203e0a53a4bdb5dc8da83 100644
--- a/chrome/browser/chromeos/extensions/input_method_api.h
+++ b/chrome/browser/chromeos/extensions/input_method_api.h
@@ -7,7 +7,7 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
+#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "extensions/browser/event_router.h"
#include "extensions/browser/extension_function.h"
@@ -47,7 +47,7 @@ class StartImeFunction : public SyncExtensionFunction {
INPUTMETHODPRIVATE_STARTIME)
};
-class InputMethodAPI : public ProfileKeyedAPI,
+class InputMethodAPI : public BrowserContextKeyedAPI,
public extensions::EventRouter::Observer {
public:
explicit InputMethodAPI(content::BrowserContext* context);
@@ -57,10 +57,10 @@ class InputMethodAPI : public ProfileKeyedAPI,
// Window System) id.
static std::string GetInputMethodForXkb(const std::string& xkb_id);
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<InputMethodAPI>* GetFactoryInstance();
+ // BrowserContextKeyedAPI implementation.
+ static BrowserContextKeyedAPIFactory<InputMethodAPI>* GetFactoryInstance();
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
virtual void Shutdown() OVERRIDE;
// EventRouter::Observer implementation.
@@ -68,9 +68,9 @@ class InputMethodAPI : public ProfileKeyedAPI,
OVERRIDE;
private:
- friend class ProfileKeyedAPIFactory<InputMethodAPI>;
+ friend class BrowserContextKeyedAPIFactory<InputMethodAPI>;
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
static const char* service_name() {
return "InputMethodAPI";
}
« no previous file with comments | « chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.cc ('k') | chrome/browser/chromeos/extensions/input_method_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698