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

Side by Side Diff: client/html/generated/src/wrapping/_StorageInfoWrappingImplementation.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 class StorageInfoWrappingImplementation extends DOMWrapperBase implements Storag eInfo {
8 StorageInfoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9
10 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]) {
11 if (usageCallback === null) {
12 if (errorCallback === null) {
13 _ptr.queryUsageAndQuota(storageType);
14 return;
15 }
16 } else {
17 if (errorCallback === null) {
18 _ptr.queryUsageAndQuota(storageType, LevelDom.unwrap(usageCallback));
19 return;
20 } else {
21 _ptr.queryUsageAndQuota(storageType, LevelDom.unwrap(usageCallback), err orCallback);
22 return;
23 }
24 }
25 throw "Incorrect number or type of arguments";
26 }
27
28 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]) {
29 if (quotaCallback === null) {
30 if (errorCallback === null) {
31 _ptr.requestQuota(storageType, newQuotaInBytes);
32 return;
33 }
34 } else {
35 if (errorCallback === null) {
36 _ptr.requestQuota(storageType, newQuotaInBytes, quotaCallback);
37 return;
38 } else {
39 _ptr.requestQuota(storageType, newQuotaInBytes, quotaCallback, errorCall back);
40 return;
41 }
42 }
43 throw "Incorrect number or type of arguments";
44 }
45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698