Index: components/language_usage_metrics/language_usage_metrics.cc |
diff --git a/chrome/browser/language_usage_metrics.cc b/components/language_usage_metrics/language_usage_metrics.cc |
similarity index 93% |
rename from chrome/browser/language_usage_metrics.cc |
rename to components/language_usage_metrics/language_usage_metrics.cc |
index 62ed43c4dba0a5de25316cc095c5f291f41cb15d..6ecdd7b8b12a5e6c826c029f38a96d60529d7b7a 100644 |
--- a/chrome/browser/language_usage_metrics.cc |
+++ b/components/language_usage_metrics/language_usage_metrics.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/language_usage_metrics.h" |
+#include "components/language_usage_metrics/language_usage_metrics.h" |
#include <algorithm> |
@@ -17,6 +17,8 @@ void RecordAcceptLanguage(int language_code) { |
} |
} // namespace |
+namespace language_usage_metrics { |
+ |
// static |
void LanguageUsageMetrics::RecordAcceptLanguages( |
const std::string& accept_languages) { |
@@ -69,3 +71,5 @@ void LanguageUsageMetrics::ParseAcceptLanguages( |
languages->insert(language_code); |
} |
} |
+ |
+} // namespace language_usage_metrics |