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 #include "mojo/public/bindings/sample/generated/sample_service.h" | 5 #include "mojom/sample_service.h" |
6 | 6 |
7 #include "mojo/public/bindings/lib/message_builder.h" | 7 #include "mojo/public/bindings/lib/message_builder.h" |
8 #include "mojo/public/bindings/sample/generated/sample_service_internal.h" | 8 #include "mojom/sample_service_internal.h" |
9 | 9 |
10 namespace sample { | 10 namespace sample { |
11 namespace { | 11 namespace { |
12 const uint32_t kService_Frobinate_Name = 1; | 12 const uint32_t kService_Frobinate_Name = 1; |
13 | 13 |
14 #pragma pack(push, 1) | 14 #pragma pack(push, 1) |
15 #if defined(__clang__) | 15 #if defined(__clang__) |
16 #pragma clang diagnostic push | 16 #pragma clang diagnostic push |
17 #pragma clang diagnostic ignored "-Wunused-private-field" | 17 #pragma clang diagnostic ignored "-Wunused-private-field" |
18 #endif | 18 #endif |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 return false; | 244 return false; |
245 } | 245 } |
246 | 246 |
247 // TODO: validate | 247 // TODO: validate |
248 return true; | 248 return true; |
249 } | 249 } |
250 }; | 250 }; |
251 | 251 |
252 } // namespace internal | 252 } // namespace internal |
253 } // namespace mojo | 253 } // namespace mojo |
OLD | NEW |