@@ -354,9 +354,14 @@ class PythonDescriptorPoolWrapper {
354
354
// These 3 methods implement DescriptorDatabase and delegate to
355
355
// the Python DescriptorPool.
356
356
357
+ // Use copybara strip tag to desync Google3 from OSS
358
+ // until dependencies are updated.
359
+
357
360
// Find a file by file name.
358
- bool FindFileByName (const std::string& filename,
359
- FileDescriptorProto* output) override {
361
+ bool FindFileByName (
362
+ const std::string& filename
363
+ ,
364
+ FileDescriptorProto* output) override {
360
365
try {
361
366
auto file = pool_.attr (" FindFileByName" )(filename);
362
367
return CopyToFileDescriptorProto (file, output);
@@ -371,8 +376,10 @@ class PythonDescriptorPoolWrapper {
371
376
}
372
377
373
378
// Find the file that declares the given fully-qualified symbol name.
374
- bool FindFileContainingSymbol (const std::string& symbol_name,
375
- FileDescriptorProto* output) override {
379
+ bool FindFileContainingSymbol (
380
+ const std::string& symbol_name
381
+ ,
382
+ FileDescriptorProto* output) override {
376
383
try {
377
384
auto file = pool_.attr (" FindFileContainingSymbol" )(symbol_name);
378
385
return CopyToFileDescriptorProto (file, output);
@@ -389,9 +396,10 @@ class PythonDescriptorPoolWrapper {
389
396
390
397
// Find the file which defines an extension extending the given message type
391
398
// with the given field number.
392
- bool FindFileContainingExtension (const std::string& containing_type,
393
- int field_number,
394
- FileDescriptorProto* output) override {
399
+ bool FindFileContainingExtension (
400
+ const std::string& containing_type
401
+ ,
402
+ int field_number, FileDescriptorProto* output) override {
395
403
try {
396
404
auto descriptor = pool_.attr (" FindMessageTypeByName" )(containing_type);
397
405
auto file =
0 commit comments