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

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: Fixing android build errors 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 3cbcff3581b6a601fbb44801ab438b5c76f5400a..a51ef8381373f933780c234ab5566b560e501143 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
« no previous file with comments | « components/translate/core/browser/translate_ui_delegate.h ('k') | components/translate/core/browser/translate_url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698