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

Unified Diff: components/tracing/tools/proto_zero_plugin/proto_zero_generator.cc

Issue 2239383002: GN proto_libary refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in test Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/tracing/tools/proto_zero_plugin/proto_zero_generator.cc
diff --git a/components/tracing/tools/proto_zero_plugin/proto_zero_generator.cc b/components/tracing/tools/proto_zero_plugin/proto_zero_generator.cc
index 718201503a545d972e4472b5f01e410b7503ee4d..69f68a0c2d5ff5eefa441cc27f8fe2547c317741 100644
--- a/components/tracing/tools/proto_zero_plugin/proto_zero_generator.cc
+++ b/components/tracing/tools/proto_zero_plugin/proto_zero_generator.cc
@@ -209,7 +209,7 @@ class GeneratorJob {
"// //components/tracing/tools/proto_zero_plugin.\n";
std::string guard = package_ + "_" + source_->name() + "_H_";
UpperString(&guard);
- StripString(&guard, ".-", '_');
+ StripString(&guard, ".-/\\", '_');
stub_h_->Print(
"$greeting$\n"

Powered by Google App Engine
This is Rietveld 408576698