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

Side by Side Diff: third_party/protobuf/objectivec/GPBRootObject.h

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Protocol Buffers - Google's data interchange format 1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved. 2 // Copyright 2008 Google Inc. All rights reserved.
3 // https://developers.google.com/protocol-buffers/ 3 // https://developers.google.com/protocol-buffers/
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 16 matching lines...) Expand all
27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 30
31 #import <Foundation/Foundation.h> 31 #import <Foundation/Foundation.h>
32 32
33 @class GPBExtensionRegistry; 33 @class GPBExtensionRegistry;
34 34
35 NS_ASSUME_NONNULL_BEGIN 35 NS_ASSUME_NONNULL_BEGIN
36 36
37 // All Root Objects derive from GPBRootObject. It supplies a registry 37 /// Every generated proto file defines a local "Root" class that exposes a
38 // for derived classes to register their extensions to. 38 /// @c GPBExtensionRegistry for all the extensions defined by that file and
39 /// the files it depends on.
39 @interface GPBRootObject : NSObject 40 @interface GPBRootObject : NSObject
40 41
41 // Per class registry. 42 /// An extension registry for the given file and all the files it depends on.
42 + (GPBExtensionRegistry *)extensionRegistry; 43 + (GPBExtensionRegistry *)extensionRegistry;
43 44
44 @end 45 @end
45 46
46 NS_ASSUME_NONNULL_END 47 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « third_party/protobuf/objectivec/GPBProtocolBuffers.m ('k') | third_party/protobuf/objectivec/GPBRuntimeTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698