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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/app/application.dart

Issue 305603004: Observatory now uses websockets to communicate with the vm. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/bin/vmservice/client/lib/service_html.dart ('k') | runtime/bin/vmservice/server.dart » ('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 part of app; 5 part of app;
6 6
7 /// A request response interceptor is called for each response. 7 /// A request response interceptor is called for each response.
8 typedef void RequestResponseInterceptor(); 8 typedef void RequestResponseInterceptor();
9 9
10 /// The observatory application. Instances of this are created and owned 10 /// The observatory application. Instances of this are created and owned
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 } 43 }
44 44
45 ObservatoryApplication.devtools() : 45 ObservatoryApplication.devtools() :
46 locationManager = new LocationManager(), 46 locationManager = new LocationManager(),
47 vm = new DartiumVM() { 47 vm = new DartiumVM() {
48 _initOnce(); 48 _initOnce();
49 } 49 }
50 50
51 ObservatoryApplication() : 51 ObservatoryApplication() :
52 locationManager = new LocationManager(), 52 locationManager = new LocationManager(),
53 vm = new HttpVM() { 53 vm = new WebSocketVM() {
54 _initOnce(); 54 _initOnce();
55 } 55 }
56 } 56 }
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/client/lib/service_html.dart ('k') | runtime/bin/vmservice/server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698