| Index: components/translate/language_detection/language_detection_util.h
|
| diff --git a/chrome/common/translate/language_detection_util.h b/components/translate/language_detection/language_detection_util.h
|
| similarity index 84%
|
| rename from chrome/common/translate/language_detection_util.h
|
| rename to components/translate/language_detection/language_detection_util.h
|
| index 4962b45bdbc24bc2ca4df77b0695cb0f6349f16e..8af9fce8f565eb5dd45212487e3edb6f2e1b9f0f 100644
|
| --- a/chrome/common/translate/language_detection_util.h
|
| +++ b/components/translate/language_detection/language_detection_util.h
|
| @@ -2,14 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_UTIL_H_
|
| -#define CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_UTIL_H_
|
| +#ifndef COMPONENTS_TRANSLATE_LANGUAGE_DETECTION_LANGUAGE_DETECTION_UTIL_H_
|
| +#define COMPONENTS_TRANSLATE_LANGUAGE_DETECTION_LANGUAGE_DETECTION_UTIL_H_
|
|
|
| #include <string>
|
|
|
| #include "base/strings/string16.h"
|
|
|
| -namespace LanguageDetectionUtil {
|
| +namespace translate {
|
|
|
| // Determines content page language from Content-Language code and contents.
|
| std::string DeterminePageLanguage(const std::string& code,
|
| @@ -42,6 +42,6 @@ bool MaybeServerWrongConfiguration(const std::string& page_language,
|
| // Returns the version string of CLD.
|
| std::string GetCLDVersion();
|
|
|
| -} // namespace LanguageDetectionUtil
|
| +} // namespace translate
|
|
|
| -#endif // CHROME_COMMON_TRANSLATE_LANGUAGE_DETECTION_UTIL_H_
|
| +#endif // COMPONENTS_TRANSLATE_LANGUAGE_DETECTION_LANGUAGE_DETECTION_UTIL_H_
|
|
|