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

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

Issue 313993002: Bindings: Add ScalarValueString support (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 ec5dd446780b9da4b1e6ca43f66683f963679ff3..2ccabaaac0c5bd77115aa14f86d03f442084261b 100644
--- a/Source/core/testing/TypeConversions.h
+++ b/Source/core/testing/TypeConversions.h
@@ -62,6 +62,9 @@ public:
const String& testByteString() const { return m_byteString; }
void setTestByteString(const String& value) { m_byteString = value; }
+ const String& testScalarValueString() const { return m_scalarValueString; }
+ void setTestScalarValueString(const String& value) { m_scalarValueString = value; }
+
void trace(Visitor*) { }
private:
@@ -78,6 +81,7 @@ private:
int16_t m_short;
uint16_t m_unsignedShort;
String m_byteString;
+ String m_scalarValueString;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698