diff options
Diffstat (limited to 'chromium/components/translate/common/translate_util.h')
-rw-r--r-- | chromium/components/translate/common/translate_util.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/chromium/components/translate/common/translate_util.h b/chromium/components/translate/common/translate_util.h deleted file mode 100644 index 41b34968e68..00000000000 --- a/chromium/components/translate/common/translate_util.h +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef COMPONENTS_TRANSLATE_COMMON_TRANSLATE_UTIL_H_ -#define COMPONENTS_TRANSLATE_COMMON_TRANSLATE_UTIL_H_ - -#include <string> - -class GURL; - -namespace translate { - -// Isolated world sets following security-origin by default. -extern const char kSecurityOrigin[]; - -// Converts language code synonym to use at Translate server. -void ToTranslateLanguageSynonym(std::string* language); - -// Converts language code synonym to use at Chrome internal. -void ToChromeLanguageSynonym(std::string* language); - -// Get Security origin with which Translate runs. -GURL GetTranslateSecurityOrigin(); - -} // namespace translate - -#endif // COMPONENTS_TRANSLATE_COMMON_TRANSLATE_UTIL_H_ |