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

Unified Diff: core/include/fxcrt/fx_string.h

Issue 809313008: Merge to XFA: Add ostream helpers for FX String classes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | core/src/fxcrt/fx_basic_bstring_unittest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxcrt/fx_string.h
diff --git a/core/include/fxcrt/fx_string.h b/core/include/fxcrt/fx_string.h
index 91032f9d9773b4e955d6dc6218454739f1aab69d..524d7efde5b6f08dcec5c56b002d08473a7f29f2 100644
--- a/core/include/fxcrt/fx_string.h
+++ b/core/include/fxcrt/fx_string.h
@@ -18,6 +18,7 @@ class CFX_WideStringL;
class CFX_ByteStringC : public CFX_Object
{
public:
+ typedef FX_CHAR value_type;
CFX_ByteStringC()
{
@@ -160,6 +161,7 @@ struct CFX_StringData {
class CFX_ByteString : public CFX_Object
{
public:
+ typedef FX_CHAR value_type;
CFX_ByteString()
{
@@ -473,6 +475,7 @@ typedef CFX_StringBufTemplate<256> CFX_StringBuf256;
class CFX_WideStringC : public CFX_Object
{
public:
+ typedef FX_WCHAR value_type;
CFX_WideStringC()
{
@@ -618,6 +621,7 @@ struct CFX_StringDataW {
class CFX_WideString : public CFX_Object
{
public:
+ typedef FX_WCHAR value_type;
CFX_WideString()
{
« no previous file with comments | « no previous file | core/src/fxcrt/fx_basic_bstring_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698