Commit 98080e85 authored by liujisi@google.com's avatar liujisi@google.com

Update upb namespace in friendship declaration.

parent cb77c4c3
...@@ -50,9 +50,9 @@ ...@@ -50,9 +50,9 @@
namespace google { namespace google {
namespace upb { namespace upb {
namespace proto2_bridge_opensource { namespace google_opensource {
class FieldAccessor; class GMR_Handlers;
} // namespace protobuf_bridge_google3 } // namespace google_opensource
} // namespace upb } // namespace upb
namespace protobuf { namespace protobuf {
...@@ -287,9 +287,9 @@ class LIBPROTOBUF_EXPORT GeneratedMessageReflection : public Reflection { ...@@ -287,9 +287,9 @@ class LIBPROTOBUF_EXPORT GeneratedMessageReflection : public Reflection {
private: private:
friend class GeneratedMessage; friend class GeneratedMessage;
// To parse directly into a proto2 generated class, FieldAccessor needs // To parse directly into a proto2 generated class, the class GMR_Handlers
// access to member offsets and hasbits. // needs access to member offsets and hasbits.
friend class LIBPROTOBUF_EXPORT upb::proto2_bridge_opensource::FieldAccessor; friend class LIBPROTOBUF_EXPORT upb::google_opensource::GMR_Handlers;
const Descriptor* descriptor_; const Descriptor* descriptor_;
const Message* default_instance_; const Message* default_instance_;
......
...@@ -57,9 +57,9 @@ ...@@ -57,9 +57,9 @@
namespace google { namespace google {
namespace upb { namespace upb {
namespace proto2_bridge_opensource { namespace google_opensource {
class FieldAccessor; class GMR_Handlers;
} // namespace protobuf_bridge_opensource } // namespace google_opensource
} // namespace upb } // namespace upb
namespace protobuf { namespace protobuf {
...@@ -235,9 +235,9 @@ class LIBPROTOBUF_EXPORT RepeatedPtrFieldBase { ...@@ -235,9 +235,9 @@ class LIBPROTOBUF_EXPORT RepeatedPtrFieldBase {
// use of AddFromCleared(), which is not part of the public interface. // use of AddFromCleared(), which is not part of the public interface.
friend class ExtensionSet; friend class ExtensionSet;
// To parse directly into a proto2 generated class, the upb FieldAccessor // To parse directly into a proto2 generated class, the upb class GMR_Handlers
// needs to be able to modify a RepeatedPtrFieldBase directly. // needs to be able to modify a RepeatedPtrFieldBase directly.
friend class LIBPROTOBUF_EXPORT upb::proto2_bridge_opensource::FieldAccessor; friend class LIBPROTOBUF_EXPORT upb::google_opensource::GMR_Handlers;
RepeatedPtrFieldBase(); RepeatedPtrFieldBase();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment