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

Unified Diff: base/strings/string16.cc

Issue 803593002: Move string16 and char16 in to base:: (Closed) Base URL: https://chromium.googlesource.com/chromium/mini_chromium@master
Patch Set: Created 6 years 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
« no previous file with comments | « base/strings/string16.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/strings/string16.cc
diff --git a/base/strings/string16.cc b/base/strings/string16.cc
index 3270e4715b689169148f5773e92700a03624cee0..893969526e1eca8f0d3512ffa2e132cad6e43435 100644
--- a/base/strings/string16.cc
+++ b/base/strings/string16.cc
@@ -56,14 +56,10 @@ char16* c16memset(char16* s, char16 c, size_t n) {
return s_orig;
}
-} // namespace base
-
-template class std::basic_string<char16, base::string16_char_traits>;
-
-namespace base {
-
std::ostream& operator<<(std::ostream& out, const string16& str) {
return out << UTF16ToUTF8(str);
}
} // namespace base
+
+template class std::basic_string<base::char16, base::string16_char_traits>;
« no previous file with comments | « base/strings/string16.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698