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

Unified Diff: tools/dom/templates/html/impl/impl_StorageInfo.darttemplate

Issue 208743003: Remove queryUsageAndQuota API (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« sdk/lib/html/dart2js/html_dart2js.dart ('K') | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_StorageInfo.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_StorageInfo.darttemplate b/tools/dom/templates/html/impl/impl_StorageInfo.darttemplate
deleted file mode 100644
index c8f4e2f6f02189d50494d410a3b605ac20cd8725..0000000000000000000000000000000000000000
--- a/tools/dom/templates/html/impl/impl_StorageInfo.darttemplate
+++ /dev/null
@@ -1,29 +0,0 @@
-// 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.
-
-part of $LIBRARYNAME;
-
-$(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
-$!MEMBERS
- Future<StorageInfoUsage> queryUsageAndQuota(int storageType) {
- var completer = new Completer<StorageInfoUsage>();
- _queryUsageAndQuota(storageType,
- (currentUsageInBytes, currentQuotaInBytes) {
- completer.complete(new StorageInfoUsage(currentUsageInBytes,
- currentQuotaInBytes));
- },
- (error) { completer.completeError(error); });
- return completer.future;
- }
-}
-
-/**
- * A simple container class for the two values that are returned from the
- * futures in requestQuota and queryUsageAndQuota.
- */
-class StorageInfoUsage {
- final int currentUsageInBytes;
- final int currentQuotaInBytes;
- const StorageInfoUsage(this.currentUsageInBytes, this.currentQuotaInBytes);
-}
« sdk/lib/html/dart2js/html_dart2js.dart ('K') | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698