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

Unified Diff: runtime/vm/zone.h

Issue 1377663002: Add Timeline to dart:developer (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « runtime/vm/timeline_test.cc ('k') | runtime/vm/zone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/zone.h
diff --git a/runtime/vm/zone.h b/runtime/vm/zone.h
index 361e6e28c26ff56e2d1c0987039d0ddeab681fb9..83c65c4565995dddc2984444cbbf1d2c5ac2e385 100644
--- a/runtime/vm/zone.h
+++ b/runtime/vm/zone.h
@@ -46,6 +46,10 @@ class Zone {
// Make a copy of the string in the zone allocated area.
char* MakeCopyOfString(const char* str);
+ // Concatenate strings |a| and |b|. |a| may be NULL. If |a| is not NULL,
+ // |join| will be inserted between |a| and |b|.
+ char* ConcatStrings(const char* a, const char* b, char join = ',');
+
// TODO(zra): Remove these calls and replace them with calls to OS::SCreate
// and OS::VSCreate.
// These calls are deprecated. Do not add further calls to these functions.
« no previous file with comments | « runtime/vm/timeline_test.cc ('k') | runtime/vm/zone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698