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

Side by Side Diff: runtime/vm/service.cc

Issue 1973303003: VMMustBePaused -> IsolateMustBePaused (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/json_stream.cc ('k') | runtime/vm/service/service.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/service.h" 5 #include "vm/service.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "include/dart_native_api.h" 8 #include "include/dart_native_api.h"
9 #include "platform/globals.h" 9 #include "platform/globals.h"
10 10
(...skipping 2911 matching lines...) Expand 10 before | Expand all | Expand 10 after
2922 } else { 2922 } else {
2923 PrintInvalidParamError(js, "step"); 2923 PrintInvalidParamError(js, "step");
2924 return true; 2924 return true;
2925 } 2925 }
2926 } 2926 }
2927 isolate->SetResumeRequest(); 2927 isolate->SetResumeRequest();
2928 PrintSuccess(js); 2928 PrintSuccess(js);
2929 return true; 2929 return true;
2930 } 2930 }
2931 2931
2932 js->PrintError(kVMMustBePaused, NULL); 2932 js->PrintError(kIsolateMustBePaused, NULL);
2933 return true; 2933 return true;
2934 } 2934 }
2935 2935
2936 2936
2937 static const MethodParameter* pause_params[] = { 2937 static const MethodParameter* pause_params[] = {
2938 RUNNABLE_ISOLATE_PARAMETER, 2938 RUNNABLE_ISOLATE_PARAMETER,
2939 NULL, 2939 NULL,
2940 }; 2940 };
2941 2941
2942 2942
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
3979 if (strcmp(method_name, method.name) == 0) { 3979 if (strcmp(method_name, method.name) == 0) {
3980 return &method; 3980 return &method;
3981 } 3981 }
3982 } 3982 }
3983 return NULL; 3983 return NULL;
3984 } 3984 }
3985 3985
3986 #endif // !PRODUCT 3986 #endif // !PRODUCT
3987 3987
3988 } // namespace dart 3988 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/json_stream.cc ('k') | runtime/vm/service/service.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698