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

Unified Diff: third_party/protobuf/objectivec/Tests/unittest_extension_chain_f.proto

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 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: third_party/protobuf/objectivec/Tests/unittest_extension_chain_f.proto
diff --git a/third_party/protobuf/src/google/protobuf/util/internal/testdata/struct.proto b/third_party/protobuf/objectivec/Tests/unittest_extension_chain_f.proto
similarity index 77%
copy from third_party/protobuf/src/google/protobuf/util/internal/testdata/struct.proto
copy to third_party/protobuf/objectivec/Tests/unittest_extension_chain_f.proto
index c15aba0d6d9881b8963a0353cdd1e0aa0b4adc11..b9bed7239b5388cb142e8d3447960912a11e9ae0 100644
--- a/third_party/protobuf/src/google/protobuf/util/internal/testdata/struct.proto
+++ b/third_party/protobuf/objectivec/Tests/unittest_extension_chain_f.proto
@@ -1,6 +1,5 @@
// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
+// Copyright 2016 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
@@ -28,18 +27,18 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Proto to test proto3 struct.
-syntax = "proto3";
+syntax = "proto2";
-package google.protobuf.testing.structs;
-option java_package = "com.google.protobuf.testing.structs";
+package protobuf_unittest;
-import "google/protobuf/struct.proto";
+import "unittest_extension_chain_g.proto";
-message StructType {
- google.protobuf.Struct object = 1;
-}
+// The Root for this file should just be merging in the extensions from C's
+// Root (because G doens't define anything itself).
+
+// The generated source will also have to directly import C's .h file so it can
+// compile the reference to C's Root class.
-service TestService {
- rpc Call(StructType) returns (StructType);
+message ChainFMessage {
+ optional ChainGMessage g = 1;
}

Powered by Google App Engine
This is Rietveld 408576698