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

Unified Diff: chrome/browser/extensions/api/input_ime/input_ime_api.h

Issue 428783008: GetActiveUserProfile() should not be called before profile is initialized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment on GetProfile added. Created 6 years, 4 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/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 773d13b4ae0b877af329677d7d181475161db73e..0090e5d0f8df56efb35bdd4b539c66203541d6f6 100644
--- a/chrome/browser/extensions/api/input_ime/input_ime_api.h
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api.h
@@ -36,7 +36,8 @@ class InputImeEventRouter {
public:
static InputImeEventRouter* GetInstance();
- bool RegisterIme(const std::string& extension_id,
+ bool RegisterIme(Profile*,
+ const std::string& extension_id,
const extensions::InputComponentInfo& component);
void UnregisterAllImes(const std::string& extension_id);
chromeos::InputMethodEngineInterface* GetEngine(

Powered by Google App Engine
This is Rietveld 408576698