| Index: third_party/protobuf/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/ViewController.m
|
| diff --git a/third_party/protobuf/src/google/protobuf/util/internal/testdata/struct.proto b/third_party/protobuf/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/ViewController.m
|
| similarity index 80%
|
| copy from third_party/protobuf/src/google/protobuf/util/internal/testdata/struct.proto
|
| copy to third_party/protobuf/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/ViewController.m
|
| index c15aba0d6d9881b8963a0353cdd1e0aa0b4adc11..c3b7e6c0ccec5bf032c799dc56b36d8b4830d910 100644
|
| --- a/third_party/protobuf/src/google/protobuf/util/internal/testdata/struct.proto
|
| +++ b/third_party/protobuf/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/ViewController.m
|
| @@ -1,5 +1,5 @@
|
| // Protocol Buffers - Google's data interchange format
|
| -// Copyright 2008 Google Inc. All rights reserved.
|
| +// Copyright 2016 Google Inc. All rights reserved.
|
| // https://developers.google.com/protocol-buffers/
|
| //
|
| // Redistribution and use in source and binary forms, with or without
|
| @@ -28,18 +28,22 @@
|
| // (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";
|
| +#import "ViewController.h"
|
|
|
| -package google.protobuf.testing.structs;
|
| -option java_package = "com.google.protobuf.testing.structs";
|
| +@interface ViewController ()
|
|
|
| -import "google/protobuf/struct.proto";
|
| +@end
|
|
|
| -message StructType {
|
| - google.protobuf.Struct object = 1;
|
| +@implementation ViewController
|
| +
|
| +- (void)viewDidLoad {
|
| + [super viewDidLoad];
|
| + // Do any additional setup after loading the view, typically from a nib.
|
| }
|
|
|
| -service TestService {
|
| - rpc Call(StructType) returns (StructType);
|
| +- (void)didReceiveMemoryWarning {
|
| + [super didReceiveMemoryWarning];
|
| + // Dispose of any resources that can be recreated.
|
| }
|
| +
|
| +@end
|
|
|