Index: third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h b/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h |
index 2ddac6015b9af659857bc0ea1e768fab0ef1e5e3..a3f22cee6197ed58f834ee6262b30c987ede722b 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h |
+++ b/third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h |
@@ -1,6 +1,6 @@ |
// Protocol Buffers - Google's data interchange format |
// Copyright 2008 Google Inc. All rights reserved. |
-// https://developers.google.com/protocol-buffers/ |
+// http://code.google.com/p/protobuf/ |
// |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
@@ -94,11 +94,8 @@ class LIBPROTOC_EXPORT Generator : public CodeGenerator { |
void PrintNestedDescriptors(const Descriptor& containing_descriptor) const; |
void PrintMessages() const; |
- void PrintMessage(const Descriptor& message_descriptor, const string& prefix, |
- vector<string>* to_register) const; |
- void PrintNestedMessages(const Descriptor& containing_descriptor, |
- const string& prefix, |
- vector<string>* to_register) const; |
+ void PrintMessage(const Descriptor& message_descriptor) const; |
+ void PrintNestedMessages(const Descriptor& containing_descriptor) const; |
void FixForeignFieldsInDescriptors() const; |
void FixForeignFieldsInDescriptor( |
@@ -108,8 +105,6 @@ class LIBPROTOC_EXPORT Generator : public CodeGenerator { |
const FieldDescriptor& field, |
const string& python_dict_name) const; |
void AddMessageToFileDescriptor(const Descriptor& descriptor) const; |
- void AddEnumToFileDescriptor(const EnumDescriptor& descriptor) const; |
- void AddExtensionToFileDescriptor(const FieldDescriptor& descriptor) const; |
string FieldReferencingExpression(const Descriptor* containing_type, |
const FieldDescriptor& field, |
const string& python_dict_name) const; |
@@ -127,8 +122,6 @@ class LIBPROTOC_EXPORT Generator : public CodeGenerator { |
void PrintServiceDescriptor(const ServiceDescriptor& descriptor) const; |
void PrintServiceClass(const ServiceDescriptor& descriptor) const; |
void PrintServiceStub(const ServiceDescriptor& descriptor) const; |
- void PrintDescriptorKeyAndModuleName( |
- const ServiceDescriptor& descriptor) const ; |
void PrintEnumValueDescriptor(const EnumValueDescriptor& descriptor) const; |
string OptionsValue(const string& class_name, |
@@ -150,9 +143,6 @@ class LIBPROTOC_EXPORT Generator : public CodeGenerator { |
void FixOptionsForEnum(const EnumDescriptor& descriptor) const; |
void FixOptionsForMessage(const Descriptor& descriptor) const; |
- void CopyPublicDependenciesAliases( |
- const string& copy_from, const FileDescriptor* file) const; |
- |
// Very coarse-grained lock to ensure that Generate() is reentrant. |
// Guards file_, printer_ and file_descriptor_serialized_. |
mutable Mutex mutex_; |