Index: third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unicodetext.h |
=================================================================== |
--- third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unicodetext.h (revision 36549) |
+++ third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unicodetext.h (working copy) |
@@ -5,8 +5,9 @@ |
#ifndef BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UNICODETEXT_H_ |
#define BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UNICODETEXT_H_ |
+#include <windows.h> |
+ |
#include "bar/toolbar/cld/i18n/languages/public/languages.h" |
-#include "unicode/utypes.h" |
namespace CompactLangDet { |
struct DetectionTables; |
@@ -32,9 +33,9 @@ |
// for details. |
Language DetectLanguageOfUnicodeText( |
const CompactLangDet::DetectionTables* detection_tables, |
- const UChar* text, bool is_plain_text, |
+ const WCHAR* text, bool is_plain_text, |
bool* is_reliable, int* num_languages, |
- int* error_code); |
+ DWORD* error_code); |
#endif // BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_UNICODETEXT_H_ |