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

Unified Diff: pkg/appengine/lib/src/protobuf_api/rpc/rpc_service.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
Index: pkg/appengine/lib/src/protobuf_api/rpc/rpc_service.dart
diff --git a/pkg/appengine/lib/src/protobuf_api/rpc/rpc_service.dart b/pkg/appengine/lib/src/protobuf_api/rpc/rpc_service.dart
new file mode 100644
index 0000000000000000000000000000000000000000..11d0cb6e2a4ca4dd08f99e909dbd5536c3a34c9b
--- /dev/null
+++ b/pkg/appengine/lib/src/protobuf_api/rpc/rpc_service.dart
@@ -0,0 +1,22 @@
+// 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 rpc_service;
+
+import 'dart:async';
+
+class RpcApplicationError implements Exception {
+ final int code;
+ final String message;
+
+ RpcApplicationError(this.code, this.message);
+ String toString() => 'RpcApplicationError: $code ($message)';
+}
+
+abstract class RPCService {
+ Future<List<int>> call(String apiPackage,
+ String method,
+ List<int> requestProtocolBuffer,
+ {String ticket: 'invalid-ticket'});
+}
« no previous file with comments | « pkg/appengine/lib/src/protobuf_api/modules_service.dart ('k') | pkg/appengine/lib/src/protobuf_api/rpc/rpc_service_base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698