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

Unified Diff: components/translate/core/browser/language_state.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/language_state.cc
diff --git a/components/translate/core/browser/language_state.cc b/components/translate/core/browser/language_state.cc
index 14976fca6e35d31ebb901d474fec592e3b9cb397..d7b65f81c5f00874db3309d8cb5aeead7b7ab997 100644
--- a/components/translate/core/browser/language_state.cc
+++ b/components/translate/core/browser/language_state.cc
@@ -7,6 +7,8 @@
#include "base/logging.h"
#include "components/translate/core/browser/translate_driver.h"
+namespace translate {
+
LanguageState::LanguageState(TranslateDriver* driver)
: is_page_translated_(false),
translate_driver_(driver),
@@ -110,3 +112,5 @@ void LanguageState::SetIsPageTranslated(bool value) {
if (is_page_translated_)
SetTranslateEnabled(true);
}
+
+} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698