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

Unified Diff: Source/core/testing/TypeConversions.h

Issue 309553002: Add ByteString support to IDL bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add [Default=NullString] support Created 6 years, 6 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: Source/core/testing/TypeConversions.h
diff --git a/Source/core/testing/TypeConversions.h b/Source/core/testing/TypeConversions.h
index eff9fe389b3b44ac4cc263b22a7d76c2a1707253..ec5dd446780b9da4b1e6ca43f66683f963679ff3 100644
--- a/Source/core/testing/TypeConversions.h
+++ b/Source/core/testing/TypeConversions.h
@@ -59,6 +59,9 @@ public:
uint16_t testUnsignedShort() { return m_unsignedShort; }
void setTestUnsignedShort(uint16_t value) { m_unsignedShort = value; }
+ const String& testByteString() const { return m_byteString; }
+ void setTestByteString(const String& value) { m_byteString = value; }
+
void trace(Visitor*) { }
private:
@@ -74,6 +77,7 @@ private:
uint8_t m_octet;
int16_t m_short;
uint16_t m_unsignedShort;
+ String m_byteString;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698