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

Side by Side Diff: mojo/public/bindings/generators/cpp_templates/module.cc-template

Issue 65933002: Mojo: Unify the disparate source and header files into 3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mistaken /n's Created 7 years, 1 month 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
(Empty)
1 // Copyright $YEAR 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 #include "$HEADER"
6
7 #include "mojo/public/bindings/lib/message_builder.h"
8 #include "$INTERNAL_HEADER"
9
10 namespace sample {
11 namespace {
12
13 #pragma pack(push, 1)
14 #if defined(__clang__)
15 #pragma clang diagnostic push
16 #pragma clang diagnostic ignored "-Wunused-private-field"
17 #endif
18 $PARAM_DEFINITIONS
19 #if defined(__clang__)
20 #pragma clang diagnostic pop
21 #endif
22 #pragma pack(pop)
23
24 } // namespace
25
26 $STRUCT_DEFINITIONS
27
28 $INTERFACE_DEFINITIONS
29 } // namespace sample
30
31 namespace mojo {
32 namespace internal {
33
34 $STRUCT_SERIALIZATION_DEFINITIONS
35
36 $INTERFACE_SERIALIZATION_DEFINITIONS
37
38 } // namespace internal
39 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698