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

Unified Diff: third_party/protobuf/python/google/protobuf/internal/factory_test2.proto

Issue 1322483002: Revert https://codereview.chromium.org/1291903002 (protobuf roll). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
Index: third_party/protobuf/python/google/protobuf/internal/factory_test2.proto
diff --git a/third_party/protobuf/python/google/protobuf/internal/factory_test2.proto b/third_party/protobuf/python/google/protobuf/internal/factory_test2.proto
index bb1b54ada2b1e9b23bdf0d6682c2d3e9f31775fd..d3ce4d7f95c0894534d51d7e63422bb8986d8249 100644
--- a/third_party/protobuf/python/google/protobuf/internal/factory_test2.proto
+++ b/third_party/protobuf/python/google/protobuf/internal/factory_test2.proto
@@ -1,6 +1,6 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
+// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
@@ -30,7 +30,6 @@
// Author: matthewtoia@google.com (Matt Toia)
-syntax = "proto2";
package google.protobuf.python.internal;
@@ -71,29 +70,8 @@ message Factory2Message {
optional string string_with_default = 18 [default = "hello world"];
optional bool bool_with_default = 19 [default = false];
optional Factory2Enum enum_with_default = 20 [default = FACTORY_2_VALUE_1];
- optional bytes bytes_with_default = 21 [default = "a\373\000c"];
-
-
- extend Factory1Message {
- optional string one_more_field = 1001;
- }
-
- oneof oneof_field {
- int32 oneof_int = 22;
- string oneof_string = 23;
- }
}
message LoopMessage {
optional Factory2Message loop = 1;
}
-
-message MessageWithNestedEnumOnly {
- enum NestedEnum {
- NESTED_MESSAGE_ENUM_0 = 0;
- }
-}
-
-extend Factory1Message {
- optional string another_field = 1002;
-}

Powered by Google App Engine
This is Rietveld 408576698