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

Unified Diff: components/translate/content/browser/content_translate_driver.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/content/browser/content_translate_driver.cc
diff --git a/components/translate/content/browser/content_translate_driver.cc b/components/translate/content/browser/content_translate_driver.cc
index 029976cdbe285ec920e2d07ff5a12c15e94098dc..429e8cbfe14bfee6aa54f6ce8f1eb51ca6376734 100644
--- a/components/translate/content/browser/content_translate_driver.cc
+++ b/components/translate/content/browser/content_translate_driver.cc
@@ -15,6 +15,8 @@
#include "content/public/common/referrer.h"
#include "url/gurl.h"
+namespace translate {
+
ContentTranslateDriver::ContentTranslateDriver(
content::NavigationController* nav_controller)
: navigation_controller_(nav_controller),
@@ -105,3 +107,5 @@ void ContentTranslateDriver::OpenUrlInNewTab(const GURL& url) {
false);
navigation_controller_->GetWebContents()->OpenURL(params);
}
+
+} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698