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

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

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
Index: tools/dom/templates/html/impl/impl_IDBIndex.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate b/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate
index e94dffa16cb3e4e79931db4be6e114734e373554..afba24eb879ffc3e5bfadf70ad3e60ff6e307528 100644
--- a/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate
+++ b/tools/dom/templates/html/impl/impl_IDBIndex.darttemplate
@@ -10,9 +10,9 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
try {
var request;
if (key_OR_range != null) {
- request = $dom_count(key_OR_range);
+ request = _count(key_OR_range);
} else {
- request = $dom_count();
+ request = _count();
}
return _completeRequest(request);
} catch (e, stacktrace) {
@@ -23,7 +23,7 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
@DomName('IDBIndex.get')
Future get(key) {
try {
- var request = $dom_get(key);
+ var request = _get(key);
return _completeRequest(request);
} catch (e, stacktrace) {
@@ -34,7 +34,7 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
@DomName('IDBIndex.getKey')
Future getKey(key) {
try {
- var request = $dom_getKey(key);
+ var request = _getKey(key);
return _completeRequest(request);
} catch (e, stacktrace) {
@@ -62,9 +62,9 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
}
var request;
if (direction == null) {
- request = $dom_openCursor(key_OR_range);
+ request = _openCursor(key_OR_range);
} else {
- request = $dom_openCursor(key_OR_range, direction);
+ request = _openCursor(key_OR_range, direction);
}
return ObjectStore._cursorStreamFromResult(request, autoAdvance);
}
@@ -89,9 +89,9 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
}
var request;
if (direction == null) {
- request = $dom_openKeyCursor(key_OR_range);
+ request = _openKeyCursor(key_OR_range);
} else {
- request = $dom_openKeyCursor(key_OR_range, direction);
+ request = _openKeyCursor(key_OR_range, direction);
}
return ObjectStore._cursorStreamFromResult(request, autoAdvance);
}

Powered by Google App Engine
This is Rietveld 408576698