| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index 9546668462a4e9093ad79144940f78289668010a..6cd554cdbb3a58ac89e73e7f06edf99d09f183b6 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -26764,11 +26764,14 @@ class StorageEvent extends Event {
|
| void _initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, String keyArg, String oldValueArg, String newValueArg, String urlArg, Storage storageAreaArg) native "StorageEvent_initStorageEvent_Callback";
|
|
|
| }
|
| -// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2012, 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.
|
|
|
| +// WARNING: Do not edit - generated code.
|
| +
|
|
|
| +@DocsEditable()
|
| @DomName('StorageInfo')
|
| // http://www.w3.org/TR/file-system-api/
|
| @Experimental()
|
| @@ -26786,26 +26789,6 @@ class StorageInfo extends NativeFieldWrapperClass2 {
|
| @Experimental() // untriaged
|
| int get usage native "StorageInfo_usage_Getter";
|
|
|
| - 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);
|
| }
|
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
|
|