| OLD | NEW |
| 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 // http://code.google.com/p/protobuf/ | 3 // http://code.google.com/p/protobuf/ |
| 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 30 matching lines...) Expand all Loading... |
| 41 // If this test fails, run the script | 41 // If this test fails, run the script |
| 42 // "generate_descriptor_proto.sh" and add | 42 // "generate_descriptor_proto.sh" and add |
| 43 // descriptor.pb.{h,cc} to your changelist. | 43 // descriptor.pb.{h,cc} to your changelist. |
| 44 | 44 |
| 45 #include <map> | 45 #include <map> |
| 46 | 46 |
| 47 #include <google/protobuf/compiler/cpp/cpp_generator.h> | 47 #include <google/protobuf/compiler/cpp/cpp_generator.h> |
| 48 #include <google/protobuf/compiler/importer.h> | 48 #include <google/protobuf/compiler/importer.h> |
| 49 #include <google/protobuf/descriptor.h> | 49 #include <google/protobuf/descriptor.h> |
| 50 #include <google/protobuf/io/zero_copy_stream_impl.h> | 50 #include <google/protobuf/io/zero_copy_stream_impl.h> |
| 51 #include <google/protobuf/stubs/stl_util-inl.h> | |
| 52 #include <google/protobuf/stubs/map-util.h> | 51 #include <google/protobuf/stubs/map-util.h> |
| 52 #include <google/protobuf/stubs/stl_util.h> |
| 53 #include <google/protobuf/stubs/strutil.h> | 53 #include <google/protobuf/stubs/strutil.h> |
| 54 #include <google/protobuf/stubs/substitute.h> | 54 #include <google/protobuf/stubs/substitute.h> |
| 55 | 55 |
| 56 #include <google/protobuf/testing/file.h> | 56 #include <google/protobuf/testing/file.h> |
| 57 #include <google/protobuf/testing/googletest.h> | 57 #include <google/protobuf/testing/googletest.h> |
| 58 #include <gtest/gtest.h> | 58 #include <gtest/gtest.h> |
| 59 | 59 |
| 60 namespace google { | 60 namespace google { |
| 61 namespace protobuf { | 61 namespace protobuf { |
| 62 namespace compiler { | 62 namespace compiler { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 context.ExpectFileMatches("google/protobuf/compiler/plugin.pb.cc", | 149 context.ExpectFileMatches("google/protobuf/compiler/plugin.pb.cc", |
| 150 "google/protobuf/compiler/plugin.pb.cc"); | 150 "google/protobuf/compiler/plugin.pb.cc"); |
| 151 } | 151 } |
| 152 | 152 |
| 153 } // namespace | 153 } // namespace |
| 154 | 154 |
| 155 } // namespace cpp | 155 } // namespace cpp |
| 156 } // namespace compiler | 156 } // namespace compiler |
| 157 } // namespace protobuf | 157 } // namespace protobuf |
| 158 } // namespace google | 158 } // namespace google |
| OLD | NEW |