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

Unified Diff: components/translate/core/browser/page_translated_details.h

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/page_translated_details.h
diff --git a/components/translate/core/browser/page_translated_details.h b/components/translate/core/browser/page_translated_details.h
index 7238c52d929cb53555afcbf026cfc80cf36698dd..acc484e850da7d663aa7fc3e0eb2caf0357f7099 100644
--- a/components/translate/core/browser/page_translated_details.h
+++ b/components/translate/core/browser/page_translated_details.h
@@ -9,6 +9,8 @@
#include "components/translate/core/common/translate_errors.h"
+namespace translate {
+
// Used when sending a notification about a page that has been translated.
struct PageTranslatedDetails {
std::string source_language;
@@ -16,4 +18,6 @@ struct PageTranslatedDetails {
TranslateErrors::Type error_type;
};
+} // namespace translate
+
#endif // COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_

Powered by Google App Engine
This is Rietveld 408576698