Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(878)

Unified Diff: chrome/common/translate/translate_util.h

Issue 25531002: Move language detection to a component (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Run translate unittests on iOS Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/translate/translate_util.h
diff --git a/chrome/common/translate/translate_util.h b/chrome/common/translate/translate_util.h
deleted file mode 100644
index 60a84b8f47cb4da4384833fc35f0708661a417fe..0000000000000000000000000000000000000000
--- a/chrome/common/translate/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 CHROME_COMMON_TRANSLATE_TRANSLATE_UTIL_H_
-#define CHROME_COMMON_TRANSLATE_TRANSLATE_UTIL_H_
-
-#include <string>
-
-class GURL;
-
-namespace TranslateUtil {
-
-// 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 TranslateUtil
-
-#endif // CHROME_COMMON_TRANSLATE_TRANSLATE_UTIL_H_
« no previous file with comments | « chrome/common/translate/translate_common_metrics_unittest.cc ('k') | chrome/common/translate/translate_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698