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

Unified Diff: third_party/protobuf/src/google/protobuf/compiler/php/php_generator.h

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/protobuf/src/google/protobuf/compiler/php/php_generator.h
diff --git a/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.h b/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.h
similarity index 91%
copy from third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.h
copy to third_party/protobuf/src/google/protobuf/compiler/php/php_generator.h
index 75555c31b59917ea5630361e39cefa3a314eb99d..ce2b000adb1af3bb68bc71a2f61e5624995f95e9 100644
--- a/third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.h
+++ b/third_party/protobuf/src/google/protobuf/compiler/php/php_generator.h
@@ -28,17 +28,17 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#ifndef GOOGLE_PROTOBUF_COMPILER_RUBY_GENERATOR_H__
-#define GOOGLE_PROTOBUF_COMPILER_RUBY_GENERATOR_H__
-
-#include <string>
+#ifndef GOOGLE_PROTOBUF_COMPILER_PHP_GENERATOR_H__
+#define GOOGLE_PROTOBUF_COMPILER_PHP_GENERATOR_H__
#include <google/protobuf/compiler/code_generator.h>
+#include <string>
+
namespace google {
namespace protobuf {
namespace compiler {
-namespace ruby {
+namespace php {
class LIBPROTOC_EXPORT Generator
: public google::protobuf::compiler::CodeGenerator {
@@ -49,10 +49,9 @@ class LIBPROTOC_EXPORT Generator
string* error) const;
};
-} // namespace ruby
+} // namespace php
} // namespace compiler
} // namespace protobuf
} // namespace google
-#endif // GOOGLE_PROTOBUF_COMPILER_RUBY_GENERATOR_H__
-
+#endif // GOOGLE_PROTOBUF_COMPILER_PHP_GENERATOR_H__

Powered by Google App Engine
This is Rietveld 408576698