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

Unified Diff: samples/swarm/SwarmApp.dart

Issue 11810004: Make browser tests all run from a server instead of the local filesystem. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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: samples/swarm/SwarmApp.dart
diff --git a/samples/swarm/SwarmApp.dart b/samples/swarm/SwarmApp.dart
index 462dcd30572f275598f2606665abc1458e343606..aa293cb602e9a73695189ba913d8365e1590e999 100644
--- a/samples/swarm/SwarmApp.dart
+++ b/samples/swarm/SwarmApp.dart
@@ -23,8 +23,8 @@ class Swarm extends App {
/** Observable UI state. */
SwarmState state;
- Swarm() : super(), onLoadFired = false {
- Sections.initializeFromUrl((currSections) {
+ Swarm({bool useCannedData : false}) : super(), onLoadFired = false {
+ Sections.initializeFromUrl(useCannedData, (currSections) {
sections = currSections;
state = new SwarmState(sections);
setupApp();

Powered by Google App Engine
This is Rietveld 408576698