| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Fletch 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library fletchc.driver.developer; | 5 library fletchc.driver.developer; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 Future, | 8 Future, |
| 9 Timer; | 9 Timer; |
| 10 | 10 |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 return parseAddress(line, defaultPort: AGENT_DEFAULT_PORT); | 434 return parseAddress(line, defaultPort: AGENT_DEFAULT_PORT); |
| 435 } | 435 } |
| 436 } | 436 } |
| 437 break; | 437 break; |
| 438 | 438 |
| 439 default: | 439 default: |
| 440 throwInternalError("Unexpected ${command.code}"); | 440 throwInternalError("Unexpected ${command.code}"); |
| 441 return null; | 441 return null; |
| 442 } | 442 } |
| 443 } | 443 } |
| 444 return null; |
| 444 } | 445 } |
| 445 | 446 |
| 446 SessionState createSessionState( | 447 SessionState createSessionState( |
| 447 String name, | 448 String name, |
| 448 Settings settings, | 449 Settings settings, |
| 449 {Uri libraryRoot, | 450 {Uri libraryRoot, |
| 450 Uri patchRoot, | 451 Uri patchRoot, |
| 451 Uri fletchVm, | 452 Uri fletchVm, |
| 452 Uri nativesJson}) { | 453 Uri nativesJson}) { |
| 453 if (settings == null) { | 454 if (settings == null) { |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1195 "device_type", | 1196 "device_type", |
| 1196 deviceType == null ? null : unParseDeviceType(deviceType)); | 1197 deviceType == null ? null : unParseDeviceType(deviceType)); |
| 1197 addIfNotNull( | 1198 addIfNotNull( |
| 1198 "incremental_mode", | 1199 "incremental_mode", |
| 1199 incrementalMode == null | 1200 incrementalMode == null |
| 1200 ? null : unparseIncrementalMode(incrementalMode)); | 1201 ? null : unparseIncrementalMode(incrementalMode)); |
| 1201 | 1202 |
| 1202 return result; | 1203 return result; |
| 1203 } | 1204 } |
| 1204 } | 1205 } |
| OLD | NEW |