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

Unified Diff: client/html/generated/src/wrapping/_StorageInfoWrappingImplementation.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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: client/html/generated/src/wrapping/_StorageInfoWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_StorageInfoWrappingImplementation.dart b/client/html/generated/src/wrapping/_StorageInfoWrappingImplementation.dart
index cfb0d72e56a59433a4f4989253d9953d3e8cbc86..e1f518d59dc587be9db357b25e1b539e3ab8f437 100644
--- a/client/html/generated/src/wrapping/_StorageInfoWrappingImplementation.dart
+++ b/client/html/generated/src/wrapping/_StorageInfoWrappingImplementation.dart
@@ -7,7 +7,7 @@
class StorageInfoWrappingImplementation extends DOMWrapperBase implements StorageInfo {
StorageInfoWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
- void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback = null, StorageInfoErrorCallback errorCallback = null]) {
+ void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback, StorageInfoErrorCallback errorCallback]) {
if (usageCallback === null) {
if (errorCallback === null) {
_ptr.queryUsageAndQuota(storageType);
@@ -18,14 +18,14 @@ class StorageInfoWrappingImplementation extends DOMWrapperBase implements Storag
_ptr.queryUsageAndQuota(storageType, LevelDom.unwrap(usageCallback));
return;
} else {
- _ptr.queryUsageAndQuota(storageType, LevelDom.unwrap(usageCallback), LevelDom.unwrap(errorCallback));
+ _ptr.queryUsageAndQuota(storageType, LevelDom.unwrap(usageCallback), errorCallback);
return;
}
}
throw "Incorrect number or type of arguments";
}
- void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) {
+ void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback, StorageInfoErrorCallback errorCallback]) {
if (quotaCallback === null) {
if (errorCallback === null) {
_ptr.requestQuota(storageType, newQuotaInBytes);
@@ -33,10 +33,10 @@ class StorageInfoWrappingImplementation extends DOMWrapperBase implements Storag
}
} else {
if (errorCallback === null) {
- _ptr.requestQuota(storageType, newQuotaInBytes, LevelDom.unwrap(quotaCallback));
+ _ptr.requestQuota(storageType, newQuotaInBytes, quotaCallback);
return;
} else {
- _ptr.requestQuota(storageType, newQuotaInBytes, LevelDom.unwrap(quotaCallback), LevelDom.unwrap(errorCallback));
+ _ptr.requestQuota(storageType, newQuotaInBytes, quotaCallback, errorCallback);
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698