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

Unified Diff: pkg/dev_compiler/web/main.dart

Issue 2879843004: Add progress events for loading DDC summaries to make it clear to users whether loading a DDC appli… (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/dev_compiler/web/web_command.dart » ('j') | pkg/dev_compiler/web/web_command.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/web/main.dart
diff --git a/pkg/dev_compiler/web/main.dart b/pkg/dev_compiler/web/main.dart
index b7cdea65f64bac591edcbcc4d416bb86db60c930..af28187835f00d632e4a6860834ecb66cdfdc63e 100755
--- a/pkg/dev_compiler/web/main.dart
+++ b/pkg/dev_compiler/web/main.dart
@@ -26,9 +26,10 @@ main() {
setUpCompilerInBrowser = allowInterop((String sdkUrl,
JSMap<String, String> summaryMap,
Function onCompileReady,
- Function onError) async {
+ Function onError,
+ [Function onProgress]) async {
(await _setUpCompilerInBrowser)(
- sdkUrl, summaryMap, onCompileReady, onError);
+ sdkUrl, summaryMap, onCompileReady, onError, onProgress);
});
_runCommand(args);
}
« no previous file with comments | « no previous file | pkg/dev_compiler/web/web_command.dart » ('j') | pkg/dev_compiler/web/web_command.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698