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

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

Issue 1164463005: Rename some service protocol errors. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync 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
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3fc31a2b9558a4f287eeff40dc4369f52f986df4..ed7651b980dafb4b11bd673adf9ba9aea289e66b 100644
--- a/runtime/observatory/lib/src/elements/cpu_profile.dart
+++ b/runtime/observatory/lib/src/elements/cpu_profile.dart
@@ -545,7 +545,7 @@ class CpuProfileElement extends ObservatoryElement {
bool handled = false;
if (e is ServerRpcException) {
ServerRpcException se = e;
- if (se.code == ServerRpcException.kProfilingDisabled) {
+ if (se.code == ServerRpcException.kFeatureDisabled) {
state = 'Disabled';
handled = true;
}
@@ -876,7 +876,7 @@ class CpuProfileTableElement extends ObservatoryElement {
bool handled = false;
if (e is ServerRpcException) {
ServerRpcException se = e;
- if (se.code == ServerRpcException.kProfilingDisabled) {
+ if (se.code == ServerRpcException.kFeatureDisabled) {
state = 'Disabled';
handled = true;
}
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/debugger.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698