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

Side by Side Diff: third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc

Issue 21208003: Update protobuf to r428, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 months 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 | Annotate | Revision Log
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 // 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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698