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

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

Issue 12663017: Reapply the expanded names with the correct form of requestFileSystem on the (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: tools/dom/templates/html/impl/impl_EventSource.darttemplate
diff --git a/tools/dom/templates/html/dart2js/impl_RTCSessionDescription.darttemplate b/tools/dom/templates/html/impl/impl_EventSource.darttemplate
similarity index 61%
copy from tools/dom/templates/html/dart2js/impl_RTCSessionDescription.darttemplate
copy to tools/dom/templates/html/impl/impl_EventSource.darttemplate
index f9b879e43c9fd380efd30752f2c889fbefdb64fe..c75e292511f7dc2dbe308f4a0c09e7ffc4bbe295 100644
--- a/tools/dom/templates/html/dart2js/impl_RTCSessionDescription.darttemplate
+++ b/tools/dom/templates/html/impl/impl_EventSource.darttemplate
@@ -5,9 +5,11 @@
part of $LIBRARYNAME;
$(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
- factory $CLASSNAME(Map dictionary) {
- return JS('RtcSessionDescription', 'new RTCSessionDescription(#)',
- convertDartToNative_SerializedScriptValue(dictionary));
+ factory $CLASSNAME(String title, {withCredentials: false}) {
+ var parsedOptions = {
+ 'withCredentials': withCredentials,
+ };
+ return $CLASSNAME._factory$CLASSNAME(title, parsedOptions);
}
$!MEMBERS
}

Powered by Google App Engine
This is Rietveld 408576698