Index: Source/core/testing/TypeConversions.h |
diff --git a/Source/core/testing/TypeConversions.h b/Source/core/testing/TypeConversions.h |
index 8de102f2a2477de10095836388672da5810c88f6..b8cde7bf27ad9fc174f119e2f8b35c1b9a918ca3 100644 |
--- a/Source/core/testing/TypeConversions.h |
+++ b/Source/core/testing/TypeConversions.h |
@@ -54,6 +54,16 @@ public: |
unsigned long long testEnforceRangeUnsignedLongLong() { return m_unsignedLongLong; } |
void setTestEnforceRangeUnsignedLongLong(unsigned long long value) { m_unsignedLongLong = value; } |
+ int8_t testByte() { return m_byte; } |
+ void setTestByte(int8_t value) { m_byte = value; } |
+ int8_t testEnforceRangeByte() { return m_byte; } |
+ void setTestEnforceRangeByte(int8_t value) { m_byte = value; } |
+ |
+ uint8_t testOctet() { return m_octet; } |
+ void setTestOctet(uint8_t value) { m_octet = value; } |
+ uint8_t testEnforceRangeOctet() { return m_octet; } |
+ void setTestEnforceRangeOctet(uint8_t value) { m_octet = value; } |
+ |
private: |
TypeConversions() |
{ |
@@ -63,6 +73,8 @@ private: |
unsigned long m_unsignedLong; |
long long m_longLong; |
unsigned long long m_unsignedLongLong; |
+ int8_t m_byte; |
+ uint8_t m_octet; |
}; |
} // namespace WebCore |