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

Side by Side Diff: third_party/protobuf/src/google/protobuf/reflection_ops.h

Issue 2599263002: third_party/protobuf: Update to HEAD (f52e188fe4) (Closed)
Patch Set: Address comments Created 3 years, 12 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 static void Merge(const Message& from, Message* to); 60 static void Merge(const Message& from, Message* to);
61 static void Clear(Message* message); 61 static void Clear(Message* message);
62 static bool IsInitialized(const Message& message); 62 static bool IsInitialized(const Message& message);
63 static void DiscardUnknownFields(Message* message); 63 static void DiscardUnknownFields(Message* message);
64 64
65 // Finds all unset required fields in the message and adds their full 65 // Finds all unset required fields in the message and adds their full
66 // paths (e.g. "foo.bar[5].baz") to *names. "prefix" will be attached to 66 // paths (e.g. "foo.bar[5].baz") to *names. "prefix" will be attached to
67 // the front of each name. 67 // the front of each name.
68 static void FindInitializationErrors(const Message& message, 68 static void FindInitializationErrors(const Message& message,
69 const string& prefix, 69 const string& prefix,
70 vector<string>* errors); 70 std::vector<string>* errors);
71 71
72 private: 72 private:
73 // All methods are static. No need to construct. 73 // All methods are static. No need to construct.
74 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ReflectionOps); 74 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ReflectionOps);
75 }; 75 };
76 76
77 } // namespace internal 77 } // namespace internal
78 } // namespace protobuf 78 } // namespace protobuf
79 79
80 } // namespace google 80 } // namespace google
81 #endif // GOOGLE_PROTOBUF_REFLECTION_OPS_H__ 81 #endif // GOOGLE_PROTOBUF_REFLECTION_OPS_H__
OLDNEW
« no previous file with comments | « third_party/protobuf/src/google/protobuf/reflection.h ('k') | third_party/protobuf/src/google/protobuf/reflection_ops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698