Index: third_party/grpc/src/compiler/objective_c_generator.h |
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl b/third_party/grpc/src/compiler/objective_c_generator.h |
similarity index 68% |
copy from third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl |
copy to third_party/grpc/src/compiler/objective_c_generator.h |
index 5abd5475d555f098c3f52d8512667cdd509cf62b..40a0c87f99cef46d0167a1bd465d1aead805f1e8 100644 |
--- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl |
+++ b/third_party/grpc/src/compiler/objective_c_generator.h |
@@ -1,6 +1,7 @@ |
/* |
- * Copyright (C) 2010 Google Inc. All rights reserved. |
- * Copyright (C) 2011 Apple Inc. All rights reserved. |
+ * |
+ * Copyright 2015, Google Inc. |
+ * All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -27,13 +28,27 @@ |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+ * |
*/ |
-[ |
- ActiveScriptWrappable, |
- DependentLifetime, |
- NoInterfaceObject, |
-] interface DOMFileSystem { |
- readonly attribute DOMString name; |
- readonly attribute DirectoryEntry root; |
-}; |
+#ifndef GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_H |
+#define GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_H |
+ |
+#include "src/compiler/config.h" |
+ |
+namespace grpc_objective_c_generator { |
+ |
+using ::grpc::protobuf::ServiceDescriptor; |
+using ::grpc::string; |
+ |
+// Returns the content to be included in the "global_scope" insertion point of |
+// the generated header file. |
+string GetHeader(const ServiceDescriptor *service); |
+ |
+// Returns the content to be included in the "global_scope" insertion point of |
+// the generated implementation file. |
+string GetSource(const ServiceDescriptor *service); |
+ |
+} // namespace grpc_objective_c_generator |
+ |
+#endif // GRPC_INTERNAL_COMPILER_OBJECTIVE_C_GENERATOR_H |