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

Unified Diff: runtime/vm/service_event.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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/service.cc ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service_event.cc
diff --git a/runtime/vm/service_event.cc b/runtime/vm/service_event.cc
index 336d1594112984fb8806a6b1db7d6d47ab4471e0..f21d8d6d30bbf809de9d7674a5074b14579c070b 100644
--- a/runtime/vm/service_event.cc
+++ b/runtime/vm/service_event.cc
@@ -49,12 +49,10 @@ ServiceEvent::ServiceEvent(Isolate* isolate, EventKind event_kind)
}
}
-
void ServiceEvent::UpdateTimestamp() {
timestamp_ = OS::GetCurrentTimeMillis();
}
-
const char* ServiceEvent::KindAsCString() const {
switch (kind()) {
case kVMUpdate:
@@ -119,7 +117,6 @@ const char* ServiceEvent::KindAsCString() const {
}
}
-
const StreamInfo* ServiceEvent::stream_info() const {
switch (kind()) {
case kVMUpdate:
@@ -173,7 +170,6 @@ const StreamInfo* ServiceEvent::stream_info() const {
}
}
-
const char* ServiceEvent::stream_id() const {
const StreamInfo* stream = stream_info();
if (stream == NULL) {
@@ -184,7 +180,6 @@ const char* ServiceEvent::stream_id() const {
}
}
-
void ServiceEvent::PrintJSON(JSONStream* js) const {
JSONObject jsobj(js);
PrintJSONHeader(&jsobj);
@@ -275,7 +270,6 @@ void ServiceEvent::PrintJSON(JSONStream* js) const {
}
}
-
void ServiceEvent::PrintJSONHeader(JSONObject* jsobj) const {
ASSERT(jsobj != NULL);
jsobj->AddProperty("type", "Event");
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698