Chromium Code Reviews| 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 450 return parseAddress(line, defaultPort: AGENT_DEFAULT_PORT); | 450 return parseAddress(line, defaultPort: AGENT_DEFAULT_PORT); |
| 451 } | 451 } |
| 452 } | 452 } |
| 453 break; | 453 break; |
| 454 | 454 |
| 455 default: | 455 default: |
| 456 throwInternalError("Unexpected ${command.code}"); | 456 throwInternalError("Unexpected ${command.code}"); |
| 457 return null; | 457 return null; |
| 458 } | 458 } |
| 459 } | 459 } |
| 460 return null; | |
|
ahe
2015/12/01 10:12:12
What is this for?
sigurdm
2015/12/03 14:48:09
To shut up the analyzer.
If there are no more com
| |
| 460 } | 461 } |
| 461 | 462 |
| 462 SessionState createSessionState( | 463 SessionState createSessionState( |
| 463 String name, | 464 String name, |
| 464 Settings settings, | 465 Settings settings, |
| 465 {Uri libraryRoot, | 466 {Uri libraryRoot, |
| 466 Uri patchRoot, | 467 Uri patchRoot, |
| 467 Uri fletchVm, | 468 Uri fletchVm, |
| 468 Uri nativesJson}) { | 469 Uri nativesJson}) { |
| 469 if (settings == null) { | 470 if (settings == null) { |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1317 "device_type", | 1318 "device_type", |
| 1318 deviceType == null ? null : unParseDeviceType(deviceType)); | 1319 deviceType == null ? null : unParseDeviceType(deviceType)); |
| 1319 addIfNotNull( | 1320 addIfNotNull( |
| 1320 "incremental_mode", | 1321 "incremental_mode", |
| 1321 incrementalMode == null | 1322 incrementalMode == null |
| 1322 ? null : unparseIncrementalMode(incrementalMode)); | 1323 ? null : unparseIncrementalMode(incrementalMode)); |
| 1323 | 1324 |
| 1324 return result; | 1325 return result; |
| 1325 } | 1326 } |
| 1326 } | 1327 } |
| OLD | NEW |