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

Unified Diff: third_party/protobuf/php/src/Google/Protobuf/Internal/GPBLabel.php

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/php/src/Google/Protobuf/Internal/GPBLabel.php
diff --git a/third_party/protobuf/python/google/protobuf/internal/any_test.proto b/third_party/protobuf/php/src/Google/Protobuf/Internal/GPBLabel.php
similarity index 89%
copy from third_party/protobuf/python/google/protobuf/internal/any_test.proto
copy to third_party/protobuf/php/src/Google/Protobuf/Internal/GPBLabel.php
index cd641ca0b8efaab4d60767f359490946f90400fb..0fb238415b20a3db35dbe8ee4c07c0d551cde6d9 100644
--- a/third_party/protobuf/python/google/protobuf/internal/any_test.proto
+++ b/third_party/protobuf/php/src/Google/Protobuf/Internal/GPBLabel.php
@@ -1,3 +1,5 @@
+<?php
+
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
@@ -28,15 +30,11 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Author: jieluo@google.com (Jie Luo)
-
-syntax = "proto3";
-
-package google.protobuf.internal;
-
-import "google/protobuf/any.proto";
+namespace Google\Protobuf\Internal;
-message TestAny {
- google.protobuf.Any value = 1;
- int32 int_value = 2;
+class GPBLabel
+{
+ const OPTIONAL = 1;
+ const REQUIRED = 2;
+ const REPEATED = 3;
}

Powered by Google App Engine
This is Rietveld 408576698