| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #if defined(__clang__) | 5 #if defined(__clang__) |
| 6 #pragma clang diagnostic push | 6 #pragma clang diagnostic push |
| 7 #pragma clang diagnostic ignored "-Wunused-private-field" | 7 #pragma clang diagnostic ignored "-Wunused-private-field" |
| 8 #elif defined(_MSC_VER) | 8 #elif defined(_MSC_VER) |
| 9 #pragma warning(push) | 9 #pragma warning(push) |
| 10 #pragma warning(disable:4056) | 10 #pragma warning(disable:4056) |
| 11 #pragma warning(disable:4065) |
| 11 #pragma warning(disable:4756) | 12 #pragma warning(disable:4756) |
| 12 #endif | 13 #endif |
| 13 | 14 |
| 14 #include "{{module.path}}.h" | 15 #include "{{module.path}}.h" |
| 15 | 16 |
| 16 #include <math.h> | 17 #include <math.h> |
| 17 | 18 |
| 18 #include "mojo/public/cpp/bindings/lib/array_serialization.h" | 19 #include "mojo/public/cpp/bindings/lib/array_serialization.h" |
| 19 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" | 20 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" |
| 20 #include "mojo/public/cpp/bindings/lib/bounds_checker.h" | 21 #include "mojo/public/cpp/bindings/lib/bounds_checker.h" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 105 |
| 105 {%- for namespace in namespaces_as_array|reverse %} | 106 {%- for namespace in namespaces_as_array|reverse %} |
| 106 } // namespace {{namespace}} | 107 } // namespace {{namespace}} |
| 107 {%- endfor %} | 108 {%- endfor %} |
| 108 | 109 |
| 109 #if defined(__clang__) | 110 #if defined(__clang__) |
| 110 #pragma clang diagnostic pop | 111 #pragma clang diagnostic pop |
| 111 #elif defined(_MSC_VER) | 112 #elif defined(_MSC_VER) |
| 112 #pragma warning(pop) | 113 #pragma warning(pop) |
| 113 #endif | 114 #endif |
| OLD | NEW |