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

Side by Side Diff: third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.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 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // Generate the CallMethod() method of the service. 98 // Generate the CallMethod() method of the service.
99 void GenerateCallMethod(io::Printer* printer); 99 void GenerateCallMethod(io::Printer* printer);
100 100
101 // Generate the Get{Request,Response}Prototype() methods. 101 // Generate the Get{Request,Response}Prototype() methods.
102 void GenerateGetPrototype(RequestOrResponse which, io::Printer* printer); 102 void GenerateGetPrototype(RequestOrResponse which, io::Printer* printer);
103 103
104 // Generate the stub's implementations of the service methods. 104 // Generate the stub's implementations of the service methods.
105 void GenerateStubMethods(io::Printer* printer); 105 void GenerateStubMethods(io::Printer* printer);
106 106
107 const ServiceDescriptor* descriptor_; 107 const ServiceDescriptor* descriptor_;
108 map<string, string> vars_; 108 std::map<string, string> vars_;
109 109
110 int index_in_metadata_;
111
112 friend class FileGenerator;
110 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceGenerator); 113 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceGenerator);
111 }; 114 };
112 115
113 } // namespace cpp 116 } // namespace cpp
114 } // namespace compiler 117 } // namespace compiler
115 } // namespace protobuf 118 } // namespace protobuf
116 119
117 } // namespace google 120 } // namespace google
118 #endif // GOOGLE_PROTOBUF_COMPILER_CPP_SERVICE_H__ 121 #endif // GOOGLE_PROTOBUF_COMPILER_CPP_SERVICE_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698