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

Unified Diff: dart/tests/lib/async/deferred/deferred_api_library.dart

Issue 11784018: Skeleton API for lazy library loading. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Dummy implementations and tests of basic API, but not functionality Created 7 years, 10 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
Index: dart/tests/lib/async/deferred/deferred_api_library.dart
diff --git a/dart/sdk/lib/chrome/dartium/chrome_dartium.dart b/dart/tests/lib/async/deferred/deferred_api_library.dart
similarity index 65%
copy from dart/sdk/lib/chrome/dartium/chrome_dartium.dart
copy to dart/tests/lib/async/deferred/deferred_api_library.dart
index c2286553e46c7790c0c932cfb76c98b6266b81d3..b59077065dc8212ef534fa68b211f0e705126ff7 100644
--- a/dart/sdk/lib/chrome/dartium/chrome_dartium.dart
+++ b/dart/tests/lib/async/deferred/deferred_api_library.dart
@@ -1,9 +1,12 @@
-library chrome;
-
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// DO NOT EDIT
-// Auto-generated dart:chrome library.
+// Imported by deferred_api_test.dart.
+
+library deferred_api_library;
+foo(x) {
+ print('foo($x)');
+ return 42;
+}

Powered by Google App Engine
This is Rietveld 408576698