| Index: third_party/protobuf/src/google/protobuf/generated_message_util.h
|
| ===================================================================
|
| --- third_party/protobuf/src/google/protobuf/generated_message_util.h (revision 216642)
|
| +++ third_party/protobuf/src/google/protobuf/generated_message_util.h (working copy)
|
| @@ -41,16 +41,8 @@
|
| #include <string>
|
|
|
| #include <google/protobuf/stubs/common.h>
|
| -
|
| -
|
| namespace google {
|
| namespace protobuf {
|
| - namespace io {
|
| - class CodedInputStream; // coded_stream.h
|
| - }
|
| -}
|
| -
|
| -namespace protobuf {
|
| namespace internal {
|
|
|
| // Annotation for the compiler to emit a deprecation message if a field marked
|
| @@ -60,11 +52,7 @@
|
| // For internal use in the pb.cc files, deprecation warnings are suppressed
|
| // there.
|
| #undef DEPRECATED_PROTOBUF_FIELD
|
| -#if !defined(INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION)
|
| -# define PROTOBUF_DEPRECATED GOOGLE_ATTRIBUTE_DEPRECATED
|
| -#else
|
| -# define PROTOBUF_DEPRECATED
|
| -#endif
|
| +#define PROTOBUF_DEPRECATED
|
|
|
|
|
| // Constants for special floating point values.
|
| @@ -74,6 +62,13 @@
|
| // Constant used for empty default strings.
|
| LIBPROTOBUF_EXPORT extern const ::std::string kEmptyString;
|
|
|
| +// Defined in generated_message_reflection.cc -- not actually part of the lite
|
| +// library.
|
| +//
|
| +// TODO(jasonh): The various callers get this declaration from a variety of
|
| +// places: probably in most cases repeated_field.h. Clean these up so they all
|
| +// get the declaration from this file.
|
| +LIBPROTOBUF_EXPORT int StringSpaceUsedExcludingSelf(const string& str);
|
|
|
| } // namespace internal
|
| } // namespace protobuf
|
|
|