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

Unified Diff: client/fling/src/dart/fling.js

Issue 9314025: Remove fling, deftserver (used only by fling), and commons-codec (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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
« no previous file with comments | « client/fling/src/dart/fling.dart ('k') | client/fling/src/java/core/com/google/dart/CompileError.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/fling/src/dart/fling.js
===================================================================
--- client/fling/src/dart/fling.js (revision 3853)
+++ client/fling/src/dart/fling.js (working copy)
@@ -1,95 +0,0 @@
-// Copyright (c) 2011, 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.
-
-function native__Logger__printString(message) {
- print(message + '\n');
-}
-
-function native_Fling__getArgs() {
- return argv;
-}
-
-
-// Fling
-function native_Fling_goForth() {
- goForth();
-}
-
-function native_Fling_refresh() {
- refresh();
-}
-
-function native_Fling_getInstallPath() {
- return getInstallPath();
-}
-
-
-// HttpServer
-function native_HttpServer__init() {
- this.$impl = new HttpServer();
-}
-
-function native_HttpServer_listen(port) {
- this.$impl.listen(port);
-}
-
-function native_HttpServer_handle(path, handler) {
- this.$impl.handle(path,
- function(req, rsp) { $dartcall(handler, [req, rsp]); });
-}
-
-// HttpResponse
-function native_HttpResponse_finish() {
- this.$impl.finish();
-}
-
-function native_HttpResponse_flush() {
- this.$impl.flush();
-}
-
-function native_HttpResponse_setHeader(name, value) {
- this.$impl.setHeader(name, value);
-}
-
-function native_HttpResponse_setStatusCode(code) {
- this.$impl.setStatusCode(code);
-}
-
-function native_HttpResponse_write(data) {
- this.$impl.write(data);
-}
-
-// HttpRequest
-function native_HttpRequest_get$body() {
- return this.$impl.body;
-}
-
-function native_HttpRequest_get$isKeepAlive() {
- return this.$impl.isKeepAlive;
-}
-
-function native_HttpRequest_get$method() {
- return this.$impl.method;
-}
-
-function native_HttpRequest_get$requestedPath() {
- return this.$impl.requestedPath;
-}
-
-function native_HttpRequest_get$version() {
- return this.$impl.version;
-}
-
-function native_HttpRequest_get$prefix() {
- return this.$impl.prefix;
-}
-
-// ClientApp
-function native_ClientApp__init(path, apps) {
- this.$impl = new ClientApp(path, apps);
-}
-
-function native_ClientApp__handle(req, res) {
- this.$impl.handler(req, res);
-}
« no previous file with comments | « client/fling/src/dart/fling.dart ('k') | client/fling/src/java/core/com/google/dart/CompileError.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698