summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker_platform_engine.h
diff options
context:
space:
mode:
authorsidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 17:41:14 +0000
committersidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 17:41:14 +0000
commit1829837c05b277ec0efbdb6ceda25d9fa4ebfd46 (patch)
tree8f8ed237578fa82cb52dcb54afce6d40d0cae4eb /chrome/browser/spellchecker_platform_engine.h
parent700d3d58213d15dea1beb2f7f7122e77e7ea2a47 (diff)
downloadchromium_src-1829837c05b277ec0efbdb6ceda25d9fa4ebfd46.zip
chromium_src-1829837c05b277ec0efbdb6ceda25d9fa4ebfd46.tar.gz
chromium_src-1829837c05b277ec0efbdb6ceda25d9fa4ebfd46.tar.bz2
Change the use of typedef Language in Spell Check files back to std::string. It is unnecessary, and is conflicting with enum Language definition for compact language detection library.
BUG=none TEST=none Review URL: http://codereview.chromium.org/150139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker_platform_engine.h')
-rw-r--r--chrome/browser/spellchecker_platform_engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/spellchecker_platform_engine.h b/chrome/browser/spellchecker_platform_engine.h
index 74a409a..b73253a 100644
--- a/chrome/browser/spellchecker_platform_engine.h
+++ b/chrome/browser/spellchecker_platform_engine.h
@@ -24,9 +24,9 @@ void Init();
// and checks the given language agains the languages that the current system
// supports. If the platform-specific spellchecker supports the language,
// then returns true, otherwise false.
-bool PlatformSupportsLanguage(const Language& current_language);
+bool PlatformSupportsLanguage(const std::string& current_language);
// Sets the language for the platform-specific spellchecker.
-void SetLanguage(const Language& lang_to_set);
+void SetLanguage(const std::string& lang_to_set);
// Checks the spelling of the given string, using the platform-specific
// spellchecker. Returns true if the word is spelled correctly.
bool CheckSpelling(const std::string& word_to_check);