Home | History | Annotate | Download | only in translate
      1 // Copyright 2013 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_COMMON_TRANSLATE_TRANSLATE_UTIL_H_
      6 #define CHROME_COMMON_TRANSLATE_TRANSLATE_UTIL_H_
      7 
      8 #include <string>
      9 
     10 namespace TranslateUtil {
     11 
     12 // Converts language code synonym to use at Translate server.
     13 void ToTranslateLanguageSynonym(std::string* language);
     14 
     15 // Converts language code synonym to use at Chrome internal.
     16 void ToChromeLanguageSynonym(std::string* language);
     17 
     18 }  // namapace TranslateUtil
     19 
     20 #endif  // CHROME_COMMON_TRANSLATE_TRANSLATE_UTIL_H_
     21