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

Unified Diff: components/translate/core/browser/translate_ui_delegate.cc

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: components/translate/core/browser/translate_ui_delegate.cc
diff --git a/components/translate/core/browser/translate_ui_delegate.cc b/components/translate/core/browser/translate_ui_delegate.cc
index 1c4c869b962d671dc775a05c831e0b771f3475be..18f085a7aa18d4b198658187831c635151d5b91d 100644
--- a/components/translate/core/browser/translate_ui_delegate.cc
+++ b/components/translate/core/browser/translate_ui_delegate.cc
@@ -31,6 +31,8 @@ const char kShowErrorUI[] = "Translate.ShowErrorUI";
} // namespace
+namespace translate {
+
TranslateUIDelegate::TranslateUIDelegate(
const base::WeakPtr<TranslateManager>& translate_manager,
const std::string& original_language,
@@ -257,3 +259,5 @@ std::string TranslateUIDelegate::GetPageHost() {
return std::string();
return translate_driver_->GetActiveURL().HostNoBrackets();
}
+
+} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698