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

Unified Diff: samples/total/client/IdGenerator.dart

Issue 10635015: Delete proxy and total samples, which have bit-rotted. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « samples/total/client/HtmlUtils.dart ('k') | samples/total/client/IndexedValue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/total/client/IdGenerator.dart
===================================================================
--- samples/total/client/IdGenerator.dart (revision 9011)
+++ samples/total/client/IdGenerator.dart (working copy)
@@ -1,17 +0,0 @@
-// Copyright (c) 2011, 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.
-
-/*
- * Object that returns an incrementing value that may be used as a unique id.
- */
-class IdGenerator {
- int _id;
-
- // Construct a IdGenerator that will start with a value of 0
- IdGenerator() : _id = 0 {
- }
-
- // Return the next value in sequence
- int next() => _id++;
-}
« no previous file with comments | « samples/total/client/HtmlUtils.dart ('k') | samples/total/client/IndexedValue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698