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

Unified Diff: lib/pub_serve.dart

Issue 1086213002: Support a @Timeout annotation. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: CHANGELOG + README Created 5 years, 8 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 | « README.md ('k') | lib/src/backend/invoker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/pub_serve.dart
diff --git a/lib/pub_serve.dart b/lib/pub_serve.dart
index 71fa1cffd516dcbf100a655fd519381b757a9366..900460d81da4b21a5e5cde23ee2846da3ff4898a 100644
--- a/lib/pub_serve.dart
+++ b/lib/pub_serve.dart
@@ -35,7 +35,8 @@ import "${p.url.basename(id.path)}" as test;
void main(_, Map message) {
var sendPort = message['reply'];
- IsolateListener.start(sendPort, () => test.main);
+ var metadata = new Metadata.deserialize(message['metadata']);
+ IsolateListener.start(sendPort, metadata, () => test.main);
}
'''));
« no previous file with comments | « README.md ('k') | lib/src/backend/invoker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698