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

Unified Diff: runtime/vm/json_stream.cc

Issue 1270103002: Allow Dart code to register service protocol handlers (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/observatory/tests/service/developer_extension_test.dart ('k') | runtime/vm/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.cc
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc
index 6fc9e924ecec2606ea5c746eeb058204229ab484..0b5a41fba3e0e6cfb0fa3ed0f2a71fcb0ec63968 100644
--- a/runtime/vm/json_stream.cc
+++ b/runtime/vm/json_stream.cc
@@ -103,8 +103,7 @@ static const char* GetJSONRpcErrorMessage(intptr_t code) {
case kCannotAddBreakpoint:
return "Cannot add breakpoint";
default:
- UNIMPLEMENTED();
- return "Unexpected rpc error code";
+ return "Extension error";
}
}
« no previous file with comments | « runtime/observatory/tests/service/developer_extension_test.dart ('k') | runtime/vm/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698