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

Unified Diff: components/translate/core/common/translate_errors.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/common/translate_errors.h
diff --git a/components/translate/core/common/translate_errors.h b/components/translate/core/common/translate_errors.h
index d0651ad8966e6ee6c9da47032c7d396a47c10496..7062fe3dba1ad33689ca4879679fbcda03a44097 100644
--- a/components/translate/core/common/translate_errors.h
+++ b/components/translate/core/common/translate_errors.h
@@ -7,6 +7,8 @@
#include "base/basictypes.h"
+namespace translate {
+
// This file consolidates all the error types for translation of a page.
// Note: TranslateErrors is used for UMA and translate_internals.js.
// Assigned numbers should be changed because the number is binded to UMA value.
@@ -38,4 +40,6 @@ class TranslateErrors {
DISALLOW_COPY_AND_ASSIGN(TranslateErrors);
};
+} // namespace translate
+
#endif // COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_

Powered by Google App Engine
This is Rietveld 408576698