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

Unified Diff: chrome/browser/chromeos/input_method/input_method_manager_impl.h

Issue 1136463005: Supports multiple profile in Chrome OS IMF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased. Created 5 years, 7 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/input_method/input_method_manager_impl.h
diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl.h b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
index 966d479085998448ab74e1c6de3653b0dec2a603..89cbc65166d50d0bcf280d29ac0f0699d5ac0186 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager_impl.h
+++ b/chrome/browser/chromeos/input_method/input_method_manager_impl.h
@@ -255,7 +255,8 @@ class InputMethodManagerImpl : public InputMethodManager,
// The engine map from extension_id to an engine.
typedef std::map<std::string, InputMethodEngineInterface*> EngineMap;
- EngineMap engine_map_;
+ typedef std::map<Profile*, EngineMap, ProfileCompare> ProfileEngineMap;
+ ProfileEngineMap engine_map_;
// The map from input method id to the input method stat id.
// The stat id has the format: <category#><first char after prefix><index>

Powered by Google App Engine
This is Rietveld 408576698