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

Side by Side Diff: third_party/protobuf/php/tests/test_no_namespace.pb.php

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Update to new HEAD (b7632464b4) + restore GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: test_no_namespace.proto
4
5 use Google\Protobuf\Internal\DescriptorPool;
6 use Google\Protobuf\Internal\GPBType;
7 use Google\Protobuf\Internal\RepeatedField;
8 use Google\Protobuf\Internal\GPBUtil;
9
10 class NoNameSpace extends \Google\Protobuf\Internal\Message
11 {
12 private $a = 0;
13
14 public function getA()
15 {
16 return $this->a;
17 }
18
19 public function setA($var)
20 {
21 GPBUtil::checkInt32($var);
22 $this->a = $var;
23 }
24
25 }
26
27 $pool = DescriptorPool::getGeneratedPool();
28
29 $pool->internalAddGeneratedFile(hex2bin(
30 "0a3b0a17746573745f6e6f5f6e616d6573706163652e70726f746f22180a" .
31 "0b4e6f4e616d65537061636512090a0161180120012805620670726f746f" .
32 "33"
33 ));
34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698