Index: chrome/browser/chromeos/input_method/input_method_util.h |
diff --git a/chrome/browser/chromeos/input_method/input_method_util.h b/chrome/browser/chromeos/input_method/input_method_util.h |
index 50092b456a93b389ca348095a887ea885ef3cbd0..e690b9b22f0c44b0fa19b9e694ef36533d405efe 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_util.h |
+++ b/chrome/browser/chromeos/input_method/input_method_util.h |
@@ -97,12 +97,12 @@ class InputMethodUtil { |
// Returns empty string on error. |
std::string GetLanguageDefaultInputMethodId(const std::string& language_code); |
- // Returns the input method ID of the hardware keyboard. e.g. "xkb:us::eng" |
- // for the US Qwerty keyboard. |
- std::string GetHardwareInputMethodId() const; |
+ // Fills the input method IDs of the hardware keyboard. e.g. "xkb:us::eng" |
+ // for the US Qwerty keyboard. |out| must not be NULL. |
+ void GetHardwareInputMethodIds(std::vector<std::string>* out) const; |
// Returns the login-allowed input method ID of the hardware keyboard. |
- std::string GetHardwareLoginInputMethodId() const; |
+ void GetHardwareLoginInputMethodId(std::vector<std::string>* out) const; |
// Returns true if given input method can be used to input login data. |
bool IsLoginKeyboard(const std::string& input_method_id) const; |