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

Unified Diff: pkg/appengine/lib/api/remote_api.dart

Issue 804973002: Add appengine/gcloud/mustache dependencies. (Closed) Base URL: git@github.com:dart-lang/pub-dartlang-dart.git@master
Patch Set: Added AUTHORS/LICENSE/PATENTS files Created 6 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
« no previous file with comments | « pkg/appengine/lib/api/modules.dart ('k') | pkg/appengine/lib/api/users.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/appengine/lib/api/remote_api.dart
diff --git a/pkg/appengine/lib/api/remote_api.dart b/pkg/appengine/lib/api/remote_api.dart
new file mode 100644
index 0000000000000000000000000000000000000000..996780a3458be00397f8d7022de3d6b3351362b1
--- /dev/null
+++ b/pkg/appengine/lib/api/remote_api.dart
@@ -0,0 +1,24 @@
+// Copyright (c) 2014, 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.
+
+library appengine.api.remote_api;
+
+import 'dart:async';
+import 'dart:io';
+
+@deprecated
+abstract class RemoteApi {
+ // TODO: We might want to change this to (maybe with more information about
+ // request):
+ // Future<List<int>> handleRemoteApiRequest(List<int> data);
+
+ /**
+ * Handles the RemoteApi [request].
+ *
+ * The user is responsible for ensuring that [request] is either a GET or a
+ * POST request. If an error occurs during the processing of [request] the
+ * returned future will complete with an error.
+ */
+ Future handleRemoteApiRequest(HttpRequest request);
+}
« no previous file with comments | « pkg/appengine/lib/api/modules.dart ('k') | pkg/appengine/lib/api/users.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698