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

Side by Side Diff: components/tracing/tools/proto_zero_plugin/proto_zero_generator.h

Issue 2147613002: Skeleton for proto_zero_plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style and naming Created 4 years, 5 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_TRACING_PROTO_ZERO_PLUGIN_PROTO_ZERO_GENERATOR_H_
6 #define COMPONENTS_TRACING_PROTO_ZERO_PLUGIN_PROTO_ZERO_GENERATOR_H_
7
8 #include <string>
9
10 #include "third_party/protobuf/src/google/protobuf/compiler/code_generator.h"
11
12 namespace tracing {
13 namespace proto {
14
15 class ProtoZeroGenerator : public google::protobuf::compiler::CodeGenerator {
16 public:
17 explicit ProtoZeroGenerator();
18 ~ProtoZeroGenerator() override;
19
20 // CodeGenerator implementation
21 bool Generate(const google::protobuf::FileDescriptor* file,
22 const std::string& options,
23 google::protobuf::compiler::GeneratorContext* context,
24 std::string* error) const override;
25 };
26
27 } // namesapce proto
28 } // namespace tracing
29
30 #endif // COMPONENTS_TRACING_PROTO_ZERO_PLUGIN_PROTO_ZERO_GENERATOR_H_
OLDNEW
« no previous file with comments | « components/tracing/tools/proto_zero_plugin/DEPS ('k') | components/tracing/tools/proto_zero_plugin/proto_zero_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698