summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/options
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 08:45:28 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-17 08:45:28 +0000
commit60b0768217facf4d3ed3e2417f0f88bb2fdcdc9d (patch)
treec2fc3f196c6b2ca7b24c248fdf012afc6aaf93a1 /chrome/browser/chromeos/options
parentfc8260887701663b9e7318c4a3c0cee87f66c5ed (diff)
downloadchromium_src-60b0768217facf4d3ed3e2417f0f88bb2fdcdc9d.zip
chromium_src-60b0768217facf4d3ed3e2417f0f88bb2fdcdc9d.tar.gz
chromium_src-60b0768217facf4d3ed3e2417f0f88bb2fdcdc9d.tar.bz2
Rename LanguageLibrary with InputMethodLibrary.
LanguageLibrary is a misnomer. This is actually an input method library. Will change the file name in the next change list. Methodology of refactoring: 1. perl -i -pe 's/LanguageLibrary/InputMethodLibrary/g' **/*.cc **/*.h 2. manually fix the lines that became longer than 80 chars. 3. grep 'language_lib' **/*.{cc,h} |grep -v '#include' 4. manually fix the variable names. BUG=chromium-os:4063 TEST=manually Review URL: http://codereview.chromium.org/2868009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/options')
-rw-r--r--chrome/browser/chromeos/options/language_config_model.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/options/language_config_model.cc b/chrome/browser/chromeos/options/language_config_model.cc
index e1af5a47..6d9076f 100644
--- a/chrome/browser/chromeos/options/language_config_model.cc
+++ b/chrome/browser/chromeos/options/language_config_model.cc
@@ -425,11 +425,11 @@ void LanguageConfigModel::InitInputMethodIdMapsAndVectors() {
// GetSupportedLanguages() never return NULL.
scoped_ptr<InputMethodDescriptors> supported_input_methods(
- CrosLibrary::Get()->GetLanguageLibrary()->GetSupportedInputMethods());
+ CrosLibrary::Get()->GetInputMethodLibrary()->GetSupportedInputMethods());
for (size_t i = 0; i < supported_input_methods->size(); ++i) {
const InputMethodDescriptor& input_method = supported_input_methods->at(i);
const std::string language_code =
- LanguageLibrary::GetLanguageCodeFromDescriptor(input_method);
+ InputMethodLibrary::GetLanguageCodeFromDescriptor(input_method);
AddInputMethodToMaps(language_code, input_method);
// Add the language code and the input method id to the sets.
supported_language_code_set.insert(language_code);