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

Unified Diff: runtime/observatory/lib/src/elements/cpu_profile.dart

Issue 1159003002: Make several service protocol RPCs private. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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: runtime/observatory/lib/src/elements/cpu_profile.dart
diff --git a/runtime/observatory/lib/src/elements/cpu_profile.dart b/runtime/observatory/lib/src/elements/cpu_profile.dart
index 13e7c21e5ae673888add34fa7eecf07d26d1e0ea..3fc31a2b9558a4f287eeff40dc4369f52f986df4 100644
--- a/runtime/observatory/lib/src/elements/cpu_profile.dart
+++ b/runtime/observatory/lib/src/elements/cpu_profile.dart
@@ -485,7 +485,7 @@ class CpuProfileElement extends ObservatoryElement {
if (isolate == null) {
return new Future.value(null);
}
- return isolate.invokeRpc('clearCpuProfile', { })
+ return isolate.invokeRpc('_clearCpuProfile', { })
.then((ServiceMap response) {
_updateView();
});
@@ -535,7 +535,7 @@ class CpuProfileElement extends ObservatoryElement {
_onFetchStarted();
try {
var params = { 'tags': tagSelector };
- var response = await isolate.invokeRpc('getCpuProfile', params);
+ var response = await isolate.invokeRpc('_getCpuProfile', params);
_onFetchFinished();
await _onLoadStarted();
profile.load(isolate, response);
@@ -850,7 +850,7 @@ class CpuProfileTableElement extends ObservatoryElement {
if (isolate == null) {
return new Future.value(null);
}
- return isolate.invokeRpc('clearCpuProfile', { })
+ return isolate.invokeRpc('_clearCpuProfile', { })
.then((ServiceMap response) {
_updateView();
});
@@ -865,7 +865,7 @@ class CpuProfileTableElement extends ObservatoryElement {
_onFetchStarted();
try {
var params = { 'tags': 'None' };
- var response = await isolate.invokeRpc('getCpuProfile', params);
+ var response = await isolate.invokeRpc('_getCpuProfile', params);
_onFetchFinished();
_onLoadStarted();
profile.load(isolate, response);
« no previous file with comments | « runtime/observatory/lib/src/elements/code_view.dart ('k') | runtime/observatory/lib/src/elements/heap_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698