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

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

Issue 93603006: Move Translate-related files to components/translate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 6 years, 11 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
« no previous file with comments | « components/translate/common/translate_switches.cc ('k') | components/translate/common/translate_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/common/translate_util.h
diff --git a/components/translate/common/translate_util.h b/components/translate/common/translate_util.h
deleted file mode 100644
index 41b34968e6863780c586e9d98695b8008de9699f..0000000000000000000000000000000000000000
--- a/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_
« no previous file with comments | « components/translate/common/translate_switches.cc ('k') | components/translate/common/translate_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698