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

Unified Diff: Source/platform/TracedValue.cpp

Issue 654013003: Implement invalidation tracking in devtools (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update test for landing Created 6 years, 2 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/platform/TracedValue.cpp
diff --git a/Source/platform/TracedValue.cpp b/Source/platform/TracedValue.cpp
index d6bbd2e2ead1b2d8f16ab17a53963e990b90564f..129bf39f51e84748522ca68691def9a84a6916d9 100644
--- a/Source/platform/TracedValue.cpp
+++ b/Source/platform/TracedValue.cpp
@@ -57,6 +57,11 @@ void TracedValue::setString(const char* name, const String& value)
currentDictionary()->setString(name, threadSafeCopy(value));
}
+void TracedValue::setArray(const char* name, PassRefPtr<JSONArray> value)
+{
+ currentDictionary()->setArray(name, value);
+}
+
void TracedValue::beginDictionary(const char* name)
{
RefPtr<JSONObject> dictionary = JSONObject::create();
« Source/core/inspector/InspectorTraceEvents.cpp ('K') | « Source/platform/TracedValue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698