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

Side by Side Diff: mojo/public/bindings/sample/mojom/sample_service.cc

Issue 53173008: Add mojom_bindings_generator.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing gypi file 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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698