Index: components/translate/common/translate_util.cc |
diff --git a/chrome/common/translate/translate_util.cc b/components/translate/common/translate_util.cc |
similarity index 95% |
rename from chrome/common/translate/translate_util.cc |
rename to components/translate/common/translate_util.cc |
index 71c0860b0713ba124908cdfc1e54622a8d666625..4e151d31e442b0bf9b45794049e5102063e256d4 100644 |
--- a/chrome/common/translate/translate_util.cc |
+++ b/components/translate/common/translate_util.cc |
@@ -2,13 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/common/translate/translate_util.h" |
+#include "components/translate/common/translate_util.h" |
#include "base/basictypes.h" |
#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/strings/string_split.h" |
-#include "chrome/common/chrome_switches.h" |
+#include "components/translate/common/translate_switches.h" |
#include "url/gurl.h" |
namespace { |
@@ -32,7 +32,7 @@ void SplitIntoMainAndTail(const std::string& language, |
} // namespace |
-namespace TranslateUtil { |
+namespace translate { |
struct LanguageCodePair { |
// Code used in supporting list of Translate. |
@@ -122,4 +122,4 @@ GURL GetTranslateSecurityOrigin() { |
return GURL(security_origin); |
} |
-} // namespace TranslateUtil |
+} // namespace translate |